Export (0) Print
Expand All

Page.ClientScript Property

Gets a ClientScriptManager object used to manage, register, and add script to the page.

Namespace: System.Web.UI
Assembly: System.Web (in system.web.dll)

'Declaration
PublicReadOnlyPropertyClientScriptAsClientScriptManager
'Usage
DiminstanceAsPageDimvalueAsClientScriptManagervalue = instance.ClientScript
/** @property */
public ClientScriptManager get_ClientScript ()

public function get ClientScript () : ClientScriptManager

Not applicable.

Property Value

A ClientScriptManager object.

Use the ClientScript property to get a ClientScriptManager object that can be used to manage, register, and add script to a Web page. For more information, see the ClientScriptManager class.

The ClientScriptManager class is new in ASP.NET 2.0 and replaces Page class methods for managing scripts that are now deprecated.

For an example, see the ClientScriptManager class overview topic.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show:
© 2014 Microsoft