B
Bjorn Sagbakken
With ASP.NET 2.0
I'm trying to display the pdf file directly in the client browser, but I
only get a download dialogue box. Downloading the file works fine, but I
want to view the PDF directly.
I get the same response with:
Response.ContentType="Application/X-unknown" which is more understandable.
The Response.ContentType="Application/pdf" doesn't seem to tell the browser
that this actually is a PDF-file.
Mybe there is only a mistyping, but I shuld like a complete list of the
options for ContentType, like what phrase to use for all kind of files.
Anyone that knows where to find this?
(I have searched through help without finding a listing of all the filetypes
available)
Bjorn
I'm trying to display the pdf file directly in the client browser, but I
only get a download dialogue box. Downloading the file works fine, but I
want to view the PDF directly.
I get the same response with:
Response.ContentType="Application/X-unknown" which is more understandable.
The Response.ContentType="Application/pdf" doesn't seem to tell the browser
that this actually is a PDF-file.
Mybe there is only a mistyping, but I shuld like a complete list of the
options for ContentType, like what phrase to use for all kind of files.
Anyone that knows where to find this?
(I have searched through help without finding a listing of all the filetypes
available)
Bjorn