ScriptManagerDesigner.GetProxyScript Method (ScriptManager, ServiceReference)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Provides a proxy script from a derived ServiceReference object.

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

public static string GetProxyScript(
	ScriptManager scriptManager,
	ServiceReference serviceReference
)

Parameters

scriptManager
Type: System.Web.UI.ScriptManager

The ScriptManager control on the page.

serviceReference
Type: System.Web.UI.ServiceReference

The ServiceReference control that is used to register a Web service for use in the page.

Return Value

Type: System.String

The proxy script.

.NET Framework
Available since 4.0
Return to top
Show: