How do I close a splash message after generating a file?
<p>I've run into a rather sticky situation and I was hoping you all could help.  As part of my application, I'm generating a file for my users.  Unfortunately, the time it takes to generate this file could be close to 5 minutes.  In order to appease my users, I'm showing a message asking them to please wait.  Once I have the file generated, I want to return the file to them and clear the message.  I'm using the ASP.NET timer to check when the file has finished generating.</p>

<p>My problem comes once the file has finished generating.  At the point, I need to do three things:
1.) Pass the file to the user.
2.) Close the message.
3.) Disable the Timer.</p>

<p>My problem comes from the fact that once I've finished writing the file to the repsonse, my postback doesn't finish, so the Viewstate doesn't get updated, so the message and Timer are still there.</p>

<p>Any ideas?</p>
