Click here to Skip to main content
15,891,633 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
XML
<iframe id="ContentPlaceHolder1_pdfiframe" height="600px" width="850px" src="E:\\uploads\\4876baaf-c10a-494c-8e3c-6efd89fe9c85ADPro Consulting Office Directions.pdf"></iframe>

but it is not showing image plz help me out
Posted

1 solution

If there are any space b/w in the folder name or PDF it will not take.
Rename the PDF as below.
JavaScript
DPro_Consulting_Office_Directions.PDF 

so it can open it.
Or in page load u can write as below.
JavaScript
string path = Server.MapPath(@"E:\\uploads\\4876baaf-c10a-494c-8e3c-6efd89fe9c85ADPro Consulting Office Directions.pdf");
IfameId.Attribute.Add("scr",path);
 
Share this answer
 
v2
Comments
Member 10057465 3-Sep-13 6:17am    
Thanxs for ur reply but no luck for me its not showing image...
Member 10057465 3-Sep-13 6:36am    
Any Other ideas please help me..

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