ControlAdapter.OnUnload Method (EventArgs)
Overrides the OnUnload method for the associated control.
Assembly: System.Web (in System.Web.dll)
Override themethod to do target-specific processing in the Unload stage of the control lifecycle. Typically, these are cleanup functions that precede disposition of the control.
Notes to Inheritors:
When you inherit from the ControlAdapter class and the adapter overrides the method, the adapter must call the corresponding base class method, which in turn calls the Control.OnUnload method. If Control.OnUnload is not called, the Control.Unload event will not be raised.
Available since 2.0