Re: PDF Documents
- From: "Austin Phillips" <aphillips_at_aticousa_dot_com>
- Date: Tue, 12 Sep 2006 11:56:40 -0400
Hey John;
If I open a web browser...click Open, browse, navigate to the PDF file
manually, then open, the document is displayed within the browser.
However, when I programmatically try it, I get the download option.
I don't want the download option. I want to view the document in the browser
with the plug in.
Thanks for any help,
Austin
"John Timney (MVP)" <x_john@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:trCdnZw6Tu_mTpvYRVnytQ@xxxxxxxxxxxxxxxxx
Your browser probably needs to be set to act the way you want it.
Take a read of this from Adobe whihc should help you
http://www.adobe.com/support/techdocs/315029.html
--
Regards
John Timney (MVP)
http://www.johntimney.com
"Austin Phillips" <aphillips_at_aticousa_dot_com> wrote in message
news:%238ZSLun1GHA.3464@xxxxxxxxxxxxxxxxxxxxxxx
Hello;
I am *very* new to website programming.
Coming from a client/server background, I am having some difficulties.
I know this is not asp.net related, but I figured someone would be able to
help me with this as I am tearing all of my hair out!
I am simply trying to load a PDF document into a web browser.
I am using the following code:
<% Response.AppendHeader("Content-Disposition",
"attachment;filename=C005FA05087FHQ.pdf")
Response.ContentType = "application/pdf"
Response.WriteFile("C:\Inetpub\wwwroot\eglobal\PDF\C005FA05087FHQ.pdf")
Response.End()%>
I can *somewhat* achieve what I want...but the above code does not open
in the current webbrowswer....instead it opens the document in Adobe
reader....in a seperate window.
Can anyone help me? I would appreciate it.
I posted this in the general newsgroup, but noone answered.
Thanks,
Austin
.
- Follow-Ups:
- Re: PDF Documents
- From: darrel
- Re: PDF Documents
- References:
- PDF Documents
- From: Austin Phillips
- Re: PDF Documents
- From: John Timney \(MVP\)
- PDF Documents
- Prev by Date: Re: __doPostBack at OnLoad Page
- Next by Date: problem deploying 1.1 app on IIS 6
- Previous by thread: Re: PDF Documents
- Next by thread: Re: PDF Documents
- Index(es):
Relevant Pages
|