This topic has not yet been rated - Rate this topic

RegisteredScriptType Enumeration

Specifies the type of client script block that is represented by a RegisteredScript object.

Namespace:  System.Web.UI
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)
public enum RegisteredScriptType
Member name Description
ClientScriptInclude A client script that executes every time that an asynchronous postback occurs.
ClientScriptBlock A block of client code that executes one time during initial page rendering. A client script block of this type does not execute during partial-page updates.
ClientStartupScript A client script that is associated with a control that executes when the control starts.
OnSubmitStatement A client script that executes when a page is submitted.

The script type indicates when the script is intended to be executed. This can be during page initialization, during page postback, during control startup, and so on.

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
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ