IUrlResolutionService.ResolveClientUrl Method (String)


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

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


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.

.NET Framework
Available since 2.0
Return to top