YKMM
asked on
ASHX file closes it's self whaen opening in new tab in IE7
Hi.
I have an ASHX file which generates a PDF report and then forces download.
The ashx is opened through javascript:window.open(... )
my IE7 is configured to open new windows as new tabs.
when i click on the button,i see the tab opening, but closes its self immediatelly (half a second).
when surfing to the ASHX file and passing the data in the querystring, no problem.
in other browsers, and when opening in new window (not new tab) there's no problem.
any ideas?
Thanks!
Udi.
I have an ASHX file which generates a PDF report and then forces download.
The ashx is opened through javascript:window.open(...
my IE7 is configured to open new windows as new tabs.
when i click on the button,i see the tab opening, but closes its self immediatelly (half a second).
when surfing to the ASHX file and passing the data in the querystring, no problem.
in other browsers, and when opening in new window (not new tab) there's no problem.
any ideas?
Thanks!
Udi.
http://www.456bereastreet.com/archive/200605/using_javascript_instead_of_target_to_open_new_windows/
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.