Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ResolveClientUrl Method
Collapse the table of content
Expand the table of content

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft