asp.net.ph

Control.Unload Event

System.Web.UI Namespace   Control Class


Occurs when the control is unloaded from memory.

[ VB ]
Public Event Unload As EventHandler

[ C# ]
public event EventHandler Unload;

[ C++ ]
public: __event EventHandler* Unload;

In [ JScript ], you can handle the events defined by a class, but you cannot define your own.

Event Data

The event handler receives an EventArgs containing data related to the Unload event.

Remarks

Server controls must perform any final clean-up, such as closing files, database connections and discarding objects, during this stage of the control lifecycle before the instance is unloaded.

See Also

Control Members Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph