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

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,066
Latest member
VytoKetoReviews

Latest Threads

Top