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)

abstract Disposed : IEvent<EventHandler,
    EventArgs>
override Disposed : IEvent<EventHandler,
    EventArgs>

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
Show: