IScriptControl Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines methods that ASP.NET server controls must implement to define ECMAScript (JavaScript) resources in AJAX-enabled applications.
public interface class IScriptControl
public interface IScriptControl
type IScriptControl = interface
Public Interface IScriptControl
- Derived
Remarks
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.
Methods
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. |
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈