Click here to Skip to main content
15,883,959 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using an IFRAME for opening a PDF Report in a browser.

In Iframe I am using Server.mappath for complete physical directory of a folder in which reports is residing.

Now using this iframe in code behind not opening a pdf report.

Is anything wrong in this code.

Please solve this issue.

string url = Server.MapPath("../PDFReports/" + status); -"../PDFReports/" is a pdfreport folder in a root directory.
// status -is the name of dynamic Generated pdf.

frm.Attributes.Add("src", url);// it is used for adding source of pdf file.
Posted
Updated 10-Jun-13 19:48pm
v2
Comments
The_Inventor 16-Jun-13 0:01am    
Need to see more code.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900