Provides the base class for the Control and Behavior classes, and for any other object whose lifetime should be managed by the ASP.NET AJAX client library.
When overridden in a derived class, initializes an instance of that class and registers it with the application as a disposable object.
Raised when the dispose method is called for a component.
Raised when the raisePropertyChanged method of the current Component object is called.
Called by the create method to indicate that the process of setting properties of a component instance has begun.
Creates and initializes a component of the specified type. This method is static and can be called without creating an instance of the class.
The type of the component to create.
(Optional) A JSON object that describes the properties and their values.
(Optional) A JSON object that describes the events and their handlers.
(Optional) A JSON object that describes the properties that are references to other components.
(Optional) The DOM element that the component should be attached to.
A new instance of a component that uses the specified parameters.
Raises the disposing event of the current Component and removes the component from the application.
Called by the create method to indicate that the process of setting properties of a component instance has finished. This method is called by the create method ($create). Sets the isUpdating property of the current Component object to false, calls the initialize method if it has not already been called, and then calls the updated method.
Gets an EventHandlerList object that contains references to all the event handlers that are mapped to the current component's events. This member supports the client-script infrastructure and is not intended to be used directly from your code.
any
An EventHandlerList object that contains references to all the events and handlers for this component.
Gets the ID of the current Component object.
string
The id
Gets a value indicating whether the current Component object is initialized.
boolean
true if the current Component is initialized; otherwise, false.
Gets a value indicating whether the current Component object is updating.
boolean
true if the current Component object is updating; otherwise, false.
Initializes the current Component object. The initialize method sets the isInitialized property of the current Component object to true. This function is called by the create method ($create) and overridden in derived classes to initialize the component.
Raises the propertyChanged event for the specified property.
The name of the property that changed.
Raised when the dispose method is called for a component.
Raised when the raisePropertyChanged method of the current Component object is called.
Sets the ID of the current Component object.
A string that contains the ID of the component.
Called by the endUpdate method as a placeholder for additional logic in derived classes. Override the updated method in a derived class to add custom post-update logic.