Link to home
Start Free TrialLog in
Avatar of Nettodotnet
NettodotnetFlag for Afghanistan

asked on

iframe .net : How to pass Src="FileName"

Below is my code:

        If File.Exists(filename) Then
            lit1.Text = "<IFRAME NAME='embeddedFrame' WIDTH='90%' HEIGHT='90%' SRC='TTT.pdf'/>"
        Else
            lit1.Text = "file to load PDF file for printing please contact Admin"
        End If


This working fine.
but how do i pass SCR="Path+FileName" which is under my "C:\Temp:TTT.PDF".


Looking for Help.
SOLUTION
Avatar of Mrunal
Mrunal
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Nettodotnet

ASKER

Yes it is constant
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
with my c# program iam creating pdf file under earc user "C:\TEMP\abc.pdf" file.
in the program itself iam trying to load that pdf in to iframe.

Is some thing not woking in vb.net?