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.

 

 

 

 

 

 

 

Path Property

Gets or sets the path of the authentication service.

Syntax

CSharp

[CategoryAttribute("Behavior")]
[NotifyParentPropertyAttribute(true)]
[DefaultValueAttribute("")]
public string Path { get; set; }

VisualBasic

<CategoryAttribute("Behavior")> _
<NotifyParentPropertyAttribute(True)> _
<DefaultValueAttribute("")> _
Public Property Path As String

ManagedCPlusPlus

[CategoryAttribute(L"Behavior")]
[NotifyParentPropertyAttribute(true)]
[DefaultValueAttribute(L"")]
public:
String^ Path {
	String^ get ();
	void set (String^ value);
}

JSharp

/** @property */
/** @property */

Value

Return Value

The path of the custom authentication Web service.

Remarks

If the Path property is not set, then the return value is Empty. In this case, Microsoft ASP.NET 2.0 AJAX Extensions will then use the built-in authentication Web service that corresponds to the following internal default path: ~/ScriptServices_AuthenticationService.asmx. The same behavior occurs if you set Path to an empty value or null.

Path can be specified in the ScriptManager control or in an associated ScriptManagerProxy control. When Path is set at the ScriptManagerProxy level, the following caveats apply:

  • If there are multiple proxies in the control hierarchy, Path does not have to be set on each proxy instance.

  • If Path is explicitly set on a proxy instance, the value must be the same for all other proxies on which this property is explicitly set.

Exceptions

ExceptionCondition
ArgumentException

More than one unique path was set in the control hierarchy.

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