RegisteredScript Class
Provides access to a client script that was previously registered with the Page object.
Assembly: System.Web.Extensions (in System.Web.Extensions.dll)
| Name | Description | |
|---|---|---|
![]() | AddScriptTags | Gets a value that indicates whether the script block should be rendered on the Web page enclosed in <script> tags. |
![]() | Control | Gets the control that registered the script. |
![]() | Key | Gets the key that, together with the Type value, identifies the script. |
![]() | Script | Gets the file name of the script. |
![]() | ScriptType | Gets the script type that indicates when the script is intended to be executed. |
![]() | Type | Gets the client script type that, together with the Key value, identifies the script. |
![]() | Url | Gets the URL of the script file. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | ToString() | 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.
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.

