ASHX file closes it's self whaen opening in new tab in IE7

YKMM
YKMM used Ask the Experts™
on
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.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
Thanks, but this wasnt it.
what i did, is instead of opening the new window with window.open, i open it with navigateUrl (flex)
it seems like the window.open + porce download of a file is a security problem for IE7
with navigateUrl it doesnt have a problem.
Thanks anyway :-)

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial