Export (0) Print
Expand All

IUrlResolutionService.ResolveClientUrl Method

Returns a resolved URL that is suitable for use by the client.

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

string ResolveClientUrl(
	string relativeUrl
)

Parameters

relativeUrl
Type: System.String

A URL relative to the current page.

Return Value

Type: System.String
A String containing the resolved URL.

If the specified URL is absolute, the absolute URL is returned without changes. Otherwise, the URL is converted to a relative URL that the client can resolve.

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0

Community Additions

ADD
Show:
© 2015 Microsoft