Detect postback from Automatic prompting for file downloads

Discussion in 'ASP .Net' started by ar, May 11, 2006.

  1. ar

    ar Guest

    Hello,

    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.

    Ar
     
    ar, May 11, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Guest
    Replies:
    1
    Views:
    777
    Guest
    Jun 29, 2004
  2. =?Utf-8?B?a2lt?=
    Replies:
    3
    Views:
    7,637
    cbDevelopment
    Dec 15, 2005
  3. Replies:
    7
    Views:
    1,681
    Shunya
    Mar 1, 2006
  4. Andrew Henry

    Prompting a download of an external file in ASP.

    Andrew Henry, Jul 20, 2005, in forum: ASP General
    Replies:
    3
    Views:
    181
    Bullschmidt
    Jul 21, 2005
  5. Jeff
    Replies:
    4
    Views:
    276
Loading...

Share This Page