Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

ASP.net Embed pdf file on web page

Posted on 2013-10-30
2
Medium Priority
?
1,153 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:Murray Brown
2 Comments
 
LVL 34

Accepted Solution

by:
Big Monty earned 2000 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:Murray Brown
ID: 39612008
Thanks very much
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

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

Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…

783 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