• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 508
  • Last Modified:

include pdf in asp page

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
gianitoo
Asked:
gianitoo
1 Solution
 
SlimshaneeyCommented:
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
 
alorentzCommented:
PDF's use Adobe Reader via the browser, but it's independent and external.  Don't think you can do that...
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
hongjunCommented:
ya it depends on what being installed on the machine.
0
 
deighcCommented:
You can't do that. You can only have one content type per request. You'll need to make link to the document.
0
 
Sleepyhead_NOCommented:
<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
 
alorentzCommented:
@Sleepyhead_NO - yeah, thought of that earlier, but never tested.  Probably will work, but I hate frames... ;-)
0

Featured Post

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.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now