G
Guest
Hi,
After converting my projects to ASP.Net 2.0 I have seen a problem with
Page_unload. Ä°n framework 1.1 page_unload event fires when you are leaving
the page or has closed the browser window. Now in 2.0 when you initally load
the page Page_unload event fires after page_load event. In some of our aspx
pages we craete some versions of original records and if the user presses
cancel button or just leaves the page without cancelling we have to do some
cleaning and rollbacks in the database.
I have searched the net, but I couldn't have found a possible solution or a
workaround. Is there an event which just fires when the page is closing?
TIA
Cenk
After converting my projects to ASP.Net 2.0 I have seen a problem with
Page_unload. Ä°n framework 1.1 page_unload event fires when you are leaving
the page or has closed the browser window. Now in 2.0 when you initally load
the page Page_unload event fires after page_load event. In some of our aspx
pages we craete some versions of original records and if the user presses
cancel button or just leaves the page without cancelling we have to do some
cleaning and rollbacks in the database.
I have searched the net, but I couldn't have found a possible solution or a
workaround. Is there an event which just fires when the page is closing?
TIA
Cenk