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.

 

 

 

 

 

 

 

ScriptControlDescriptor Class

Defines a client control object.

Syntax

CSharp

VisualBasic

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

ManagedCPlusPlus

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

JSharp

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

Members

IconMemberDescription
ScriptControlDescriptorNew(String, String)Initializes a new instance of the ScriptControlDescriptor 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 ID of the client component. (Overrides ScriptComponentDescriptor.ClientID.)
ElementIDGets the HTML ID of the client control object.
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()Gets the client script that implements the target control on the page. (Inherited from ScriptComponentDescriptor.)
GetType()Gets the Type of the current instance. (Inherited from Object.)
IDGets the ID of the current ScriptControlDescriptor instance. (Overrides ScriptComponentDescriptor.ID.)
MemberwiseClone()Creates a shallow copy of the current Object. (Inherited from Object.)
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.)

Permissions

  • AspNetHostingPermission

    for operating in a hosted environment. Demand value: LinkDemand. Permission value: Minimal.

  • AspNetHostingPermission

    for operating in a hosted environment. Demand value: InheritanceDemand. Permission value: Minimal.

Inheritance Hierarchy

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