ScriptManagerProxy.Services Property

 

Gets a ScriptReferenceCollection object that contains a ServiceReference object for each service 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 ServiceReferenceCollection Services { get; }

Property Value

Type: System.Web.UI.ServiceReferenceCollection

A collection that contains an ServiceReference object for each service that is registered with the ScriptManagerProxy control.

The Services collection enables you to add services to any services that are already registered with the ScriptManager control.

You can add service references to the Services collection declaratively by using the ServiceReference element. You can add service references programmatically by adding ServiceReference objects to the Services collection.

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

.NET Framework
Available since 3.5
Return to top
Show: