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.
You can use the PAge.RegisterStartupScript to hook into the onUnload event
(http://msdn.microsoft.com/workshop/author/dhtml/reference/events/onunload.a
sp), popup a window and fire whatever you want to in the popup window, then
close it...not the most elegant, but likely your only solution. There's
likely a tutorial on it somewhere, google should help
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.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.