This documentation is archived and is not being maintained.

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)

[AspNetHostingPermissionAttribute(SecurityAction::LinkDemand, Level = AspNetHostingPermissionLevel::Minimal)]
public ref class RegisteredScript sealed

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.

System::Object
  System.Web.UI::RegisteredScript

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5
Show: