Handling the event while closing a webform

  • Thread starter Thread starter lakshmikandhan
  • Start date Start date
L

lakshmikandhan

Hi All,

Can anyone tell me how to handle a event while we are closing a
webform in asp.net??? I have to perform some server side action while
we are closing a webform.So plz give me some idea ...


Thanx,
Jacob
 
you can't... not easily or reliably at least. What are you trying to
achieve?
 
well here is an idea, dunno gonna work or not. You can detect window
close event in javascript, call __dopostback function from there. give
it a try
 

Ask a Question

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.

Ask a Question

Back
Top