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 a custom implementation of the profile Web service.

Syntax

CSharp

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

VisualBasic

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

ManagedCPlusPlus

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

JSharp

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

Value

Return Value

The path of a custom implementation of the profile Web service.

Remarks

Relative virtual paths, absolute virtual paths, and fully-qualified paths are allowed.

If the Path property is not set, the return value is Empty. In this case, Microsoft ASP.NET 2.0 AJAX Extensions will then use the built-in profile Web service that corresponds to the following internal default path: ~/ScriptServices_ProfileService.asmx. The same behavior occurs if you set Path to be 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)