Handling the event while closing a webform

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
 
F

Flinky Wisty Pomm

you can't... not easily or reliably at least. What are you trying to
achieve?
 
T

Techotsav

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

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,599
Members
45,175
Latest member
Vinay Kumar_ Nevatia
Top