Occurs when the server control is unloaded from memory.
System.Web (in System.Web.dll)
Public Event Unload As EventHandler
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.
Return to top
Available since 1.1