asp.net.ph

Control.Disposed Event

System.Web.UI Namespace   Control Class


Occurs when a server control is released from memory.

[ VB ]
Public Event Disposed As EventHandler

[ C# ]
public event EventHandler Disposed;

[ C++ ]
public: __event EventHandler* Disposed;

In [ JScript ], you can handle the events defined by a class, but you cannot define your own.

Event Data

The event handler receives an EventArgs containing data related to the Disposed event.

Remarks

This event is the last stage of the server control lifecycle when an ASP.NET page is requested.

Resources that require significant processor time, such as database connections, can and should be released when this event occurs.

See Also

Control Members Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph