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
LVL 1
gianitooAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Sleepyhead_NOConnect With a Mentor Commented:
<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
 
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
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.

 
alorentzCommented:
PDF's use Adobe Reader via the browser, but it's independent and external.  Don't think you can do that...
0
 
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
 
alorentzCommented:
@Sleepyhead_NO - yeah, thought of that earlier, but never tested.  Probably will work, but I hate frames... ;-)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.