IE7 and window.open issue to HttpHandler for downloads

Discussion in 'Microsoft ASP .NET' started by Guest, May 2, 2006.

  1. Guest

    Guest Guest

    I have an ASP.NET page that performs a window.open to an HttpHandler that
    streams a binary file to the brower. I am forcing the save_as... dialog in
    IE. My issue is that in IE6 the new window opens and the download starts.
    When the download is cancelled or completed the window automatically closes,
    which is exactly what I want to happen. The issue is that in IE7 Beta 2 the
    window just stays open.

    I've tried using a simple aspx page instead of the HttpHanlder and putting a
    client-side call to window.close in the page, which does work for IE6. If I
    do this in IE7 the window will close and the save_as... dialog flashes by
    (gets closed too).

    Has anyone seen this or know of a way to get this to work in IE7. I know
    how to have a new window open with the option to download the file, but I
    would rather the download just happen right away without the user having to
    close the new window after the download happens.

    Also, if anyones knows why IE7 seems to handle showModalDialog differently
    too that would be great.

    Thanks in advance,
    Burt
     
    Guest, May 2, 2006
    #1
    1. Advertisements

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. Earl Teigrob
    Replies:
    5
    Views:
    214
    Guy Lukes
    Mar 5, 2004
  2. Nicolas Beunier

    HttpHandler and Session Issue

    Nicolas Beunier, May 28, 2004, in forum: Microsoft ASP .NET
    Replies:
    4
    Views:
    323
    Nicolas Beunier
    May 31, 2004
  3. Gais

    httphandler implementation issue

    Gais, Apr 27, 2006, in forum: Microsoft ASP .NET
    Replies:
    0
    Views:
    177
  4. Victor

    HttpHandler issue

    Victor, May 23, 2007, in forum: Microsoft ASP .NET
    Replies:
    4
    Views:
    413
    Steven Cheng[MSFT]
    Jun 1, 2007
  5. Guest

    IE7 Session and HttpHandler

    Guest, Sep 17, 2007, in forum: Microsoft ASP .NET
    Replies:
    1
    Views:
    455
    Guest
    Sep 19, 2007
Loading...

Share This Page