System.Web.UI.Control.OnUnload Method

Raises the Control.Unload event.

Syntax

protected virtual void OnUnload (EventArgs e)

Parameters

e
An EventArgs object that contains event data.

Remarks

ASP.NET calls this method to raise the Control.Unload event. If you are developing a custom control, you can override this method in order to provide additional processing. If you override this method, call the base control's Control.OnUnload(EventArgs) method to notify subscribers to the event.

Requirements

Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0