Sys.UI.Behavior Class
Provides a base class for all AJAX behaviors in ASP.NET.
Namespace: Sys.UI
Inherits: Sys.Component
var a = new MyBehavior();
Constructors
Name |
Description |
---|---|
When overridden in a derived class, initializes an instance of that class. |
Members
Name |
Description |
---|---|
Removes the current Sys.UI.Behavior object from the application. |
|
Gets a Behavior instance with the specified name property from the specified HTML Document Object Model (DOM) element. |
|
Gets an array of behaviors that are of the specified type from the specified DOM element. |
|
Gets a collection that contains the behaviors associated with the specified DOM element. |
|
Initializes the current Behavior object. |
|
Gets the DOM element that the current Sys.UI.Behavior object is associated with. |
|
Gets or sets the ID of the Behavior object. |
|
Gets or sets the name of the Behavior object. |
Remarks
A behavior is a component that extends the functionality of the DOM element that it is associated with.
The Behavior class should not be instantiated directly; it is a base class for other behaviors to derive from. For information about how to create custom behaviors that derive from this class, see Creating an Extender Control to Associate a Client Behavior with a Web Server Control.
See Also
Reference
Concepts
Creating an Extender Control to Associate a Client Behavior with a Web Server Control