Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Detect postback from Automatic prompting for file downloads

Thread Tools

Detect postback from Automatic prompting for file downloads

Posts: n/a

In IE I disable "Automatic prompting for file downloads" which causes
the IE information bar to show up when I try to push a file download
from an iframe. I want to keep this behaviour.

When clicking "Download file..." on the information bar, a postback
occurs. I would like to detect this postback. The file that is going to
be downloaded is generated by a rather heavy export, now the export is
running twice. Once before the information bar shows up and again when
"Download file..." has been clicked. Because I can save the export to
disk I can push it on the postback without having to create it again.
However... I am not able to detect the reason of the postback !

Any hints would be appreciated.


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Prompting user to save a Javascript created text to a file Jeff Javascript 4 01-17-2007 07:49 PM
export directly to excel file without prompting user ASP .Net 7 03-01-2006 04:06 AM
open vbs file without prompting File Download message =?Utf-8?B?a2lt?= ASP .Net 3 12-15-2005 02:13 AM
Prompting a download of an external file in ASP. Andrew Henry ASP General 3 07-21-2005 01:28 AM
automatic downloads in outlook express Sue/Jim Computer Support 12 07-15-2003 05:03 AM