Control.Disposed Control.Disposed Control.Disposed Control.Disposed Event

Definition

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.

public:
 virtual event EventHandler ^ Disposed;
public event EventHandler Disposed;
member this.Disposed : EventHandler 
Public Custom Event Disposed As EventHandler 

Remarks

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

Applies to

See Also