IScriptControl.GetScriptDescriptors Method

Definition

Gets a collection of script descriptors that represent ECMAScript (JavaScript) client components.

public System.Collections.Generic.IEnumerable<System.Web.UI.ScriptDescriptor> GetScriptDescriptors ();

Returns

An IEnumerable collection of ScriptDescriptor objects.

Remarks

Implement this method to define components, behaviors, or client controls from the Microsoft Ajax Library that the server control requires. This method enables you to pass declaratively specified parameters to Microsoft Ajax Library functions.

To use this method, you must also implement the abstract ScriptDescriptor class.

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