Solved

ASP.net Embed pdf file on web page

Posted on 2013-10-30
2
933 Views
Last Modified: 2013-10-30
How do I embed a .pdf file on a web page so that when the user clicks on a link or image it opens up?
0
Comment
Question by:murbro
2 Comments
 
LVL 33

Accepted Solution

by:
Big Monty earned 500 total points
ID: 39611960
you can use this method of using a custom server control and the <embed> tags:

http://www.codeproject.com/Articles/20699/Embed-PDFs-into-a-Web-Page-with-a-Custom-Control

If you just want to use a link, just use a regular <a> tag pointing to the PDF, this would require they have a pdf reader on their client machine

<a href="somePdf.pdf">open pdf</a>
0
 

Author Closing Comment

by:murbro
ID: 39612008
Thanks very much
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question