This documentation is archived and is not being maintained.
ScriptBehaviorDescriptor Class
Visual Studio 2010
Extends the ScriptComponentDescriptor class to provide a wrapper for defining behaviors that are converted into client script.
System::Object
System.Web.UI::ScriptDescriptor
System.Web.UI::ScriptComponentDescriptor
System.Web.UI::ScriptBehaviorDescriptor
System.Web.UI::ScriptDescriptor
System.Web.UI::ScriptComponentDescriptor
System.Web.UI::ScriptBehaviorDescriptor
Assembly: System.Web.Extensions (in System.Web.Extensions.dll)
The ScriptBehaviorDescriptor type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | ScriptBehaviorDescriptor | 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 | Adds the specified property, and associates that property with the specified element. (Inherited from ScriptComponentDescriptor.) |
![]() | AddElementProperty | Adds the specified property and associates that property with the specified component. (Inherited from ScriptComponentDescriptor.) |
![]() | AddEvent | Adds the specified event and handler. (Inherited from ScriptComponentDescriptor.) |
![]() | AddProperty | Adds the specified property and value. (Inherited from ScriptComponentDescriptor.) |
![]() | AddScriptProperty | 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 a hash function for a particular type. (Inherited from Object.) |
![]() | GetScript | Gets the client script that implements the target control on the page. (Overrides ScriptComponentDescriptor::GetScript().) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:


