I want to send to user two files in series and I use setTimeout("__doPostBack('Button2', 'OnClick')", 3000) to initialize a postback for download a second file 3 second after first. If I have time to handle first file, it's working great, but if I'm doing nothing first file is being lost. The window (that little window where are displayed a file for download and those buttons like open, save and close) is still there, but file is absent so I want to synchronize that postback with that window close event so the main question is Can I know a status of the browser download window?
The files are formed dynamically while the code is executing so I don't know how can I zip them and, anyway, it would be preferable to send them in series.