G
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
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