Documentation for: ASP.NET Ajax Version 1.0

This documentation is for a previous version. For the current released version, see the ASP.NET Ajax documentation on MSDN.

 

 

 

 

 

 

 

GetScriptReferences Method

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

Syntax

CSharp

public abstract IEnumerable<ScriptReference> GetScriptReferences ()

VisualBasic

Public MustOverride Function GetScriptReferences As IEnumerable(Of ScriptReference)

ManagedCPlusPlus

public:
virtual IEnumerable<ScriptReference^>^ GetScriptReferences () abstract

JSharp

public abstract IEnumerable<ScriptReference> GetScriptReferences ()

Return Value

Return Value

An IEnumerable collection of ScriptReference objects.

Remarks

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.

Assembly: System.Web.Extensions (Module: System.Web.Extensions)