Прочитај на енглеском Уреди

Делите путем


IScriptControl Interface

Definition

Defines methods that ASP.NET server controls must implement to define ECMAScript (JavaScript) resources in AJAX-enabled applications.

C#
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

Производ Верзије
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1