ScriptBehaviorDescriptor Class
Extends the ScriptComponentDescriptor class to provide a wrapper for defining behaviors that are converted into client script.
Assembly: System.Web.Extensions (in System.Web.Extensions.dll)
System.Web.UI::ScriptDescriptor
System.Web.UI::ScriptComponentDescriptor
System.Web.UI::ScriptBehaviorDescriptor
| Name | Description | |
|---|---|---|
![]() | ScriptBehaviorDescriptor(String^, String^) | Initializes a new instance of the ScriptBehaviorDescriptor class. |
| Name | Description | |
|---|---|---|
![]() | ClientID | Gets the identifier for the current ScriptBehaviorDescriptor instance.(Overrides ScriptComponentDescriptor::ClientID.) |
![]() | ElementID | Gets the id attribute of the associated element, as set in the constructor. |
![]() | ID | Gets or sets the ID of the current ScriptComponentDescriptor instance.(Inherited from ScriptComponentDescriptor.) |
![]() | Name | Gets or sets the name of the current ScriptBehaviorDescriptor instance. |
![]() | Type | Gets or sets the type of the target client component.(Inherited from ScriptComponentDescriptor.) |
| Name | Description | |
|---|---|---|
![]() | AddComponentProperty(String^, String^) | Adds the specified property, and associates that property with the specified element.(Inherited from ScriptComponentDescriptor.) |
![]() | AddElementProperty(String^, String^) | Adds the specified property and associates that property with the specified component.(Inherited from ScriptComponentDescriptor.) |
![]() | AddEvent(String^, String^) | Adds the specified event and handler.(Inherited from ScriptComponentDescriptor.) |
![]() | AddProperty(String^, Object^) | Adds the specified property and value.(Inherited from ScriptComponentDescriptor.) |
![]() | AddScriptProperty(String^, String^) | Adds the specified property, and associates the property with the specified script.(Inherited from ScriptComponentDescriptor.) |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetScript() | Gets the client script that implements the target control on the page.(Overrides ScriptComponentDescriptor::GetScript().) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
Available since 3.5
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


