By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,696 Members | 2,182 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,696 IT Pros & Developers. It's quick & easy.

How can I check event clicking the 'X' button

P: n/a
How can I check event clicking the 'X' button in the upper right hand corner
of a window.
and call function or sub before close web page.

I'm using Asp.net on VS.NET

Thank.
Nov 18 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
this requires client side scripting

write a javascript function and call it on onbeforeunload event of body tag.

Av.
"Somyos" <so********@hotmail.com> wrote in message
news:ut**************@TK2MSFTNGP09.phx.gbl...
How can I check event clicking the 'X' button in the upper right hand
corner
of a window.
and call function or sub before close web page.

I'm using Asp.net on VS.NET

Thank.

Nov 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.