WebFormsRootDesigner.AddClientScriptToDocument Method
.NET Framework 2.0
Note: This method is new in the .NET Framework version 2.0.
When overridden in a derived class, adds a client script element to the current Web Forms page.
Namespace: System.Web.UI.Design
Assembly: System.Design (in system.design.dll)
WebFormsRootDesigner Members
System.Web.UI.Design Namespace
Client Script in ASP.NET Web Pages
Design-Time Support for Web Forms
Extending Design-Time Support
How to: Extend the Appearance and Behavior of Controls in Design Mode
Assembly: System.Design (in system.design.dll)
public abstract void AddClientScriptToDocument ( ClientScriptItem scriptItem )
public abstract function AddClientScriptToDocument ( scriptItem : ClientScriptItem )
Parameters
- scriptItem
A ClientScriptItem to add to the Web Forms page.
Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Reference
WebFormsRootDesigner ClassWebFormsRootDesigner Members
System.Web.UI.Design Namespace
Other Resources
ASP.NET Control Designers OverviewClient Script in ASP.NET Web Pages
Design-Time Support for Web Forms
Extending Design-Time Support
How to: Extend the Appearance and Behavior of Controls in Design Mode
Show: