RegisteredScript Class

 

Provides access to a client script that was previously registered with the Page object.

Namespace:   System.Web.UI
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

System.Object
  System.Web.UI.RegisteredScript

public sealed class RegisteredScript

NameDescription
System_CAPS_pubpropertyAddScriptTags

Gets a value that indicates whether the script block should be rendered on the Web page enclosed in <script> tags.

System_CAPS_pubpropertyControl

Gets the control that registered the script.

System_CAPS_pubpropertyKey

Gets the key that, together with the Type value, identifies the script.

System_CAPS_pubpropertyScript

Gets the file name of the script.

System_CAPS_pubpropertyScriptType

Gets the script type that indicates when the script is intended to be executed.

System_CAPS_pubpropertyType

Gets the client script type that, together with the Key value, identifies the script.

System_CAPS_pubpropertyUrl

Gets the URL of the script file.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

A client script is uniquely identified by its key and its type. Only one script with a given key/type pair can be registered with a page.

Client scripts are not guaranteed to be output in the order that they are registered in.

.NET Framework
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.

Return to top
Show: