Solved

Display pdf document in asp page

Posted on 2014-11-20
3
274 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 83

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 33

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

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

This article discusses four methods for overlaying images in a container on a web page
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…

733 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