Provides a base class for all ASP.NET AJAX client behaviors.
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.
Removes the current Behavior object from the application. The dispose method releases all resources from the Sys.UI.Behavior object, unbinds it from its associated HTML Document Object Model (DOM) element, and unregisters it 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 a Sys.UI.Behavior instance with the specified name property from the specified HTML Document Object Model (DOM) element. This member a static member and can be invoked without creating an instance of the class.
The specified Behavior object, if found; otherwise, null.
Gets the Sys.UI.Behavior objects that are associated with the specified HTML Document Object Model (DOM) element. This member is static and can be invoked without creating an instance of the class.
The Sys.UI.DomElement object to search.
Behavior[]
An array of references to Behavior objects, or null if no references exist.
Gets an array of Sys.UI.Behavior objects that are of the specified type from the specified HTML Document Object Model (DOM) element. This method is static and can be invoked without creating an instance of the class.
Behavior[]
An array of all Behavior objects of the specified type that are associated with the specified DOM element, if found; otherwise, an empty array.
Gets the HTML Document Object Model (DOM) element that the current Sys.UI.Behavior object is associated with.
The DOM element that the current Behavior object is associated with.
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 or sets the identifier for the Sys.UI.Behavior object. A generated identifier that consists of the ID of the associated Sys.UI.DomElement, the "$" character, and the name value of the Behavior object.
string
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.
Gets or sets the name of the Sys.UI.Behavior object.
string
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.
Gets or sets the identifier for the Sys.UI.Behavior object.
The string value to use as the identifier.
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.