IE7 and window.open issue to HttpHandler for downloads

Discussion in 'ASP .Net' started by =?Utf-8?B?QnVydA==?=, May 2, 2006.

  1. 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
     
    =?Utf-8?B?QnVydA==?=, May 2, 2006
    #1
    1. Advertising

  2. =?Utf-8?B?QnVydA==?=

    leandro.almeida

    Joined:
    Jul 15, 2009
    Messages:
    1
    help

    i've the same problem with IE 7... FF is ok... but IE =\

    somebody can help us??????


     
    leandro.almeida, Jul 15, 2009
    #2
    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. Earl Teigrob
    Replies:
    5
    Views:
    510
    Guy Lukes
    Mar 5, 2004
  2. =?Utf-8?B?SmVk?=

    IE7 Session and HttpHandler

    =?Utf-8?B?SmVk?=, Sep 17, 2007, in forum: ASP .Net
    Replies:
    1
    Views:
    723
    =?Utf-8?B?SmVk?=
    Sep 19, 2007
  3. Ganesh

    IE7 + Vista - Window.Open issue

    Ganesh, Oct 3, 2007, in forum: ASP .Net
    Replies:
    1
    Views:
    2,972
    Scott M.
    Oct 3, 2007
  4. Toccoa
    Replies:
    2
    Views:
    165
    Randy Webb
    Feb 6, 2007
  5. pcouas
    Replies:
    2
    Views:
    137
    Randy Webb
    Feb 21, 2007
Loading...

Share This Page