i have fileUpload control on web page and a button to show .pdf file in a rich text box. but i dont know how to open apdf file ? can i use some pdf library?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Normally the browser shows a PDF if an appropriate plugin is installed (Adobe PDF Reader or I think newly Flash).
You would use an
iframeif you only want to show it only in a part of your page. You might also take a look at some of the fancy Javascript UI toolkits out there in that case so that integration would work smoothly. I used the ManagedIFrame once and it worked okay so far.Another way would be to use a library like PDF Sharp to parse the PDF on the server and process it to your needs. You could convert it to single page images and make these available to browse then.