Hi,
Confused about loading a pdf file into an iframe from C# code behind.
I have a PDF file called temp2.pdf in my document root. The file is
physically located at C:\inetpub\wwwr oot\MySite\temp 2.pdf .
In the code behind I try:
Iframe1.Attribu tes.Add("src", "\\MySite\\temp 2.pdf"); // THIS WORKS
Iframe1.Attribu tes.Add("src",
"c:\\inetpub\\w wwroot\\MySite\ \temp2.pdf"); // NOT WORK.
Iframe1.Attribu tes.Add("src", "c:\\Any\\Other \\Directory\\te mp2.pdf");
// NOT WORK.
Ideally I would like to put the PDF documents below some 'well known'
reports folder, such as C:\\Data\\Repor ts\\blah but I can't get it to
work.
Please help.
Regards
Confused about loading a pdf file into an iframe from C# code behind.
I have a PDF file called temp2.pdf in my document root. The file is
physically located at C:\inetpub\wwwr oot\MySite\temp 2.pdf .
In the code behind I try:
Iframe1.Attribu tes.Add("src", "\\MySite\\temp 2.pdf"); // THIS WORKS
Iframe1.Attribu tes.Add("src",
"c:\\inetpub\\w wwroot\\MySite\ \temp2.pdf"); // NOT WORK.
Iframe1.Attribu tes.Add("src", "c:\\Any\\Other \\Directory\\te mp2.pdf");
// NOT WORK.
Ideally I would like to put the PDF documents below some 'well known'
reports folder, such as C:\\Data\\Repor ts\\blah but I can't get it to
work.
Please help.
Regards
Comment