Click here to Skip to main content
15,905,508 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to Display pdf file in asp.net page in one panel.

and i want to show my page structure like below.

Enter PDfName--> TextBox

pdf show

button OK. and Button Cancel.
Posted
Updated 12-Feb-14 23:59pm
v3
Comments
What? Not clear.
Member 10453691 13-Feb-14 5:52am    
I want to display pdf file in asp.net PAge.
JoCodes 13-Feb-14 5:55am    
Please make the question clear?
Member 10453691 13-Feb-14 5:59am    
Question Improved..
JoCodes 13-Feb-14 6:03am    
Check the solution

If you want to Display the PDF in WebPage between some Web Controls , then refer

Embed PDFs into a Web Page with a Custom Control[^]
 
Share this answer
 
Comments
Sampath Lokuge 13-Feb-14 6:03am    
+5 :)
JoCodes 13-Feb-14 6:31am    
Thanks Sampath :)
OPees 13-Feb-14 6:47am    
+5 :)
Happy coding
JoCodes 13-Feb-14 6:49am    
Thanks :)
Try Google Doc Viewer. Just embed an iframe in your page pointing to Google Doc Viewer and specifying the PDF file you want to display. This is the code you should add:

HTML
<iframe src="http://docs.google.com/gview?url=http://infolab.stanford.edu/pub/papers/google.pdf&embedded=true" style="width:600px; height:500px;" frameborder="0"></iframe>


Then you just need to set up your own document file (use absolute URL) to the "url" query string param and that's it!
 
Share this answer
 
pls check out url:

http://www.aspdotnet-suresh.com/2012/11/aspnet-open-pdf-file-in-web-browser.html
 
Share this answer
 

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