편집

다음을 통해 공유


ScriptManagerProxy.Scripts Property

Definition

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

public:
 property System::Web::UI::ScriptReferenceCollection ^ Scripts { System::Web::UI::ScriptReferenceCollection ^ get(); };
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)]
public System.Web.UI.ScriptReferenceCollection Scripts { get; }
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)>]
member this.Scripts : System.Web.UI.ScriptReferenceCollection
Public ReadOnly Property Scripts As ScriptReferenceCollection

Property Value

A collection of ScriptReference objects for each script file that the ScriptManagerProxy control sends to the browser.

Attributes

Remarks

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 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.

Applies to

See also