Documentation for: ASP.NET Ajax Version 1.0

This documentation is for a previous version. For the current released version, see the ASP.NET Ajax documentation on MSDN.

 

 

 

 

 

 

 

Sys.Component.disposing Event

Raised when the dispose method is called for a component.

Syntax

aComponent.add_disposing(handler);
aComponent.remove_disposing(handler);

Parameter

Description

handler

The event handler function to add or remove.

Remarks

Use the add_disposing and remove_disposing functions to add or remove handlers for this event. To raise the event outside the dispose method, call the getHandler method of the current EventHandlerList object, and then call the function it returns.