Solved

include pdf in asp page

Posted on 2004-04-26
7
499 Views
Last Modified: 2013-11-18
i would like to have my pdf file included in my asp page.

what code do i have to insert in my asp page so the pdf will be included inside the page and not as an external link.


the name of the pdf file is  registration.pdf

thanks
0
Comment
Question by:gianitoo
7 Comments
 
LVL 33

Expert Comment

by:hongjun
ID: 10919993
0
 
LVL 11

Expert Comment

by:Slimshaneey
ID: 10920001
You best bet is to 'redirect' to the pdf file i.e.
response.redirect "file.pdf"
Not everyone will have the ablility to read pdf files in their broiwser though...
0
 
LVL 31

Expert Comment

by:alorentz
ID: 10920007
PDF's use Adobe Reader via the browser, but it's independent and external.  Don't think you can do that...
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 33

Expert Comment

by:hongjun
ID: 10920038
ya it depends on what being installed on the machine.
0
 
LVL 15

Expert Comment

by:deighc
ID: 10920336
You can't do that. You can only have one content type per request. You'll need to make link to the document.
0
 
LVL 3

Accepted Solution

by:
Sleepyhead_NO earned 500 total points
ID: 10920637
<iframe name="pdf_file" src="registration.pdf" style="width:400px;height:300px;"></iframe>

will bring up the adobe acrobat reader within your page as an iframe.
0
 
LVL 31

Expert Comment

by:alorentz
ID: 10920765
@Sleepyhead_NO - yeah, thought of that earlier, but never tested.  Probably will work, but I hate frames... ;-)
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone 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

Suggested Solutions

Title # Comments Views Activity
SQL to update characters in table column 6 147
What does GoogleTagMgr javascripts below do 5 36
edit .asp files 5 31
Html CheckBox obtain Its Value 5 28
This article covers the basics of the Sass, which is a CSS extension language. You will learn about variables, mixins, and nesting.
I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

830 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