IScriptControl Interface
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Defines methods that ASP.NET server controls must implement to define ECMAScript (JavaScript) resources in AJAX-enabled applications.
Namespace: System.Web.UI
Assembly: System.Web.Extensions (in System.Web.Extensions.dll)
The IScriptControl type exposes the following members.
| Name | Description | |
|---|---|---|
|
GetScriptDescriptors | Gets a collection of script descriptors that represent ECMAScript (JavaScript) client components. |
|
GetScriptReferences | Gets a collection of ScriptReference objects that define script resources that the control requires. |
When implemented by a class, the methods of the IScriptControl interface provide references to script libraries that define client components and script descriptors that represent instances of client types. Implement this interface in custom server controls that will include script control functionality.
For more information, see Adding Client Capabilities to a Web Server Control.
Windows 8 Consumer Preview, Windows Server 8 Beta, Windows 7, Windows Server 2008 SP2, Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.