This documentation is archived and is not being maintained.

ScriptManagerProxy::Scripts Property

Gets a ScriptReferenceCollection object that contains a ScriptReference object for each script file that is explicitly registered with the ScriptManagerProxy control.

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

[PersistenceModeAttribute(PersistenceMode::InnerProperty)]
public:
property ScriptReferenceCollection^ Scripts {
	ScriptReferenceCollection^ get ();
}

Property Value

Type: System.Web.UI::ScriptReferenceCollection
A collection of ScriptReference objects for each script file that the ScriptManagerProxy control sends to the browser.

The Scripts collection enables you to add script references to any scripts that are already registered with the ScriptManager control.

You can add script references to the Scripts collection declaratively by using the asp:ScriptReference element. You can add script references programmatically by adding ScriptReference objects to the Scripts collection.

If a script is already registered with the ScriptManagerProxy or ScriptManager control, the script is not registered again.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5
Show: