RegisteredScript RegisteredScript RegisteredScript RegisteredScript Class


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

public ref class RegisteredScript sealed
public sealed class RegisteredScript
type RegisteredScript = class
Public NotInheritable Class RegisteredScript


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.


AddScriptTags AddScriptTags AddScriptTags AddScriptTags

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

Control Control Control Control

Gets the control that registered the script.

Key Key Key Key

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

Script Script Script Script

Gets the file name of the script.

ScriptType ScriptType ScriptType ScriptType

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

Type Type Type Type

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

Url Url Url Url

Gets the URL of the script file.


Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also