Solved

ASP.net Embed pdf file on web page

Posted on 2013-10-30
2
879 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 32

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

911 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now