Rank: Newbie Groups: Member
Joined: 7/26/2011 Posts: 3
|
Hi.
When using downloader and dynamic content, programmer has no way to override "Content-Type" http-header.
I would like to see an option to set content-type http-header when generating dynamic content.
For example, users using iPad or iPhone can't view pdf-files downloaded via downloader, because content-type is not "application/pdf".
Mikko
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,201
|
Hi,
You do not need a Downloader control to generate content type "application/pdf". If you just want an "application/pdf" type output, you can just use a regular page and set the output type and generate the output in your Page_Load event. The whole purpose of the Downloader control is to let user to get a "Save As" dialog, which won't work on iPad or iPhone any way because they do not allow you to save files.
Thanks!
|