IScriptControl.GetScriptReferences Method ()


Gets a collection of ScriptReference objects that define script resources that the control requires.

Namespace:   System.Web.UI
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

IEnumerable<ScriptReference> GetScriptReferences()

Implement this method to define custom script library dependencies that the server control requires, such as scripts in a Scripts folder of the current Web application, or resources in an assembly. Scripts from the Microsoft Ajax Library do not have to be registered in this manner.

.NET Framework
Available since 3.5
Return to top