Solved

Display pdf document in asp page

Posted on 2014-11-20
3
253 Views
Last Modified: 2014-11-26
I need to design a asp page and not a asp.net. I would like to embed the pdf document in the page and the scrolling feature should be available in that webpage.
0
Comment
Question by:karthik80c
3 Comments
 
LVL 82

Expert Comment

by:Dave Baldwin
ID: 40454757
That will only happen thru a plugin in the user's browser.  Fortunately, Firefox and Chrome already have it built in.  IE can do it thru a plugin from Adobe.
0
 
LVL 32

Accepted Solution

by:
Big Monty earned 500 total points
ID: 40455602
To expand on what DaveBaldwin posted, all you would need to do is put the path of the pdf in an anchor tag and it'll open up:

<a href="/pathToPdf/pdfName.pdf">open pdf</a>

if you only want to display it in a partial container on your page, you could always use iframes to control the height and width of it, or if you want it to look a bit more professional, you could always use a jquery plug-in popup box, such as LightView to achieve this.
0
 

Author Comment

by:karthik80c
ID: 40467255
Thank you Big Monty and Dave Baldwin.

Big Monty I used your solution. Thank you.
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …

706 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

20 Experts available now in Live!

Get 1:1 Help Now