Disposed Event
Collapse the table of content
Expand the table of content

Control.Disposed Event


Occurs when a server control is released from memory, which is the last stage of the server control lifecycle when an ASP.NET page is requested.

Namespace:   System.Web.UI
Assembly:  System.Web (in System.Web.dll)

public event EventHandler Disposed

Resources that require significant processor time, such as database connections, should be released with this event.

.NET Framework
Available since 1.1
Return to top
© 2015 Microsoft