Close browser window

  • Thread starter Thread starter Vishal
  • Start date Start date
V

Vishal

Hello,

is it possible to execute something when the browser
window is closed in asp.net?

Thanks
 
Not out of the box. I have heard there is some script you can place on the
form that does something, but it didn't seem like a very clean approach, so
I didn't keep the url.

bill
 
One way to achieve is to open a new window with asp.net page in javascript
unload event and run your asp.net code from that page and close that page
also after your code execution.
 
Back
Top