Documentation for: ASP.NET Ajax Version 1.0

This documentation is for a previous version. For the current released version, see the ASP.NET Ajax documentation on MSDN.








ScriptBehaviorDescriptor Class

Extends the ScriptComponentDescriptor class to provide a wrapper for defining behaviors that are converted into client script.




<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public Class ScriptBehaviorDescriptor _
	Inherits ScriptComponentDescriptor


[AspNetHostingPermissionAttribute(SecurityAction::InheritanceDemand, Level = AspNetHostingPermissionLevel::Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction::LinkDemand, Level = AspNetHostingPermissionLevel::Minimal)]
public ref class ScriptBehaviorDescriptor : public ScriptComponentDescriptor


/** @attribute AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal) */
/** @attribute AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal) */
public class ScriptBehaviorDescriptor extends ScriptComponentDescriptor


ScriptBehaviorDescriptorNew(String, String)Initializes an instance of the ScriptBehaviorDescriptor class.
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.)
ClientIDGets the identifier for the current ScriptBehaviorDescriptor instance. (Overrides ScriptComponentDescriptor.ClientID.)
ElementIDGets the id attribute of the associated element, as set in the constructor.
Equals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Finalize()Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
GetHashCode()Serves as a hash function for a particular type. (Inherited from Object.)
GetScript() (Overrides ScriptComponentDescriptor.GetScript().)
GetType()Gets the Type of the current instance. (Inherited from Object.)
IDGets or sets the ID of the current ScriptComponentDescriptor instance. (Inherited from ScriptComponentDescriptor.)
MemberwiseClone()Creates a shallow copy of the current Object. (Inherited from Object.)
NameGets or sets the name of the current ScriptBehaviorDescriptor instance.
ToString()Returns a String that represents the current Object. (Inherited from Object.)
TypeGets or sets the type of the target client component. (Inherited from ScriptComponentDescriptor.)

Inheritance Hierarchy

Assembly: System.Web.Extensions (Module: System.Web.Extensions)