Tuesday, August 18, 2009

Where to Add code of Form Closing event

Where to Add code of Form Closing event
Hello,

I have some class variables used in the VB code behind of aspx files and wish to dispose them or make them Nothing on closing of form.

In ASP.NET, we don't have form closing event, then where do I add such code. Form_Unload occurs every time the form is changed/refreshed, etc. I just want to execute the code at the end of the form i.e. closing state. How can I do it?

Thanks,


View Full Details...............................

No comments:

Post a Comment