On Jan 25, 4:05 pm, xeroxero <xerox...@newsg roups.nospam wrote:
I am attempting to make a small popup window push a downloaded file.
What works fine with the Visual Studio 2005 web server does not appear
to work with IIS6.
I'm pretty sure it is not related to the webserver. Why it appears to
work in VS2005 is because you have different settings in IE7 because
of the zones (Internet vs Local Intranet) and they have different
settings for 'Automatic prompting for file downloads'. Local Intranet
has it set to on while Internet has it set to off which results in
this behaviour on remote sites. Set Local Intranet to the same setting
as Internet and you can get the same effect. IE6/Firefox works as
expected.
It works if you for example have a button on the page that opens the
window directly by javascript and pushes the file directly into the
window. The problem for me is that in my case i have a webform that
needs to be posted first and saved and the result is then displayed in
a new window opened by javascript. This asynchronous behaviour seems
to trigger something in IE7 so the window is closed right away.
Extremely irritating...
One workaround is to tell the users to change the setting in IE7 so it
works as intended but that is not an optimal solution.
If you find a solution please post it here.
Regards TMB