Solved

ASP.net Embed pdf file on web page

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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
This video discusses moving either the default database or any database to a new volume.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

747 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

12 Experts available now in Live!

Get 1:1 Help Now