run a function before exiting a web application
C#
2
Posts
2
Posters
0
Views
1
Watching
-
Hello, I am wondering if there is some functionality with the upper right exit button when it is pushed. I need to do a check to make sure that a button was pushed (save button) before they close the browser. I wasn't sure if there was some code I could run in the code behind to do this or not. Thanks! John Michael
-
Hello, I am wondering if there is some functionality with the upper right exit button when it is pushed. I need to do a check to make sure that a button was pushed (save button) before they close the browser. I wasn't sure if there was some code I could run in the code behind to do this or not. Thanks! John Michael
Take a look at this link: Dirty Panel Extender (ASP.NET AJAX)[^] It seems to be useful for you.