Name
ResolveUrl
Synopsis
String = Page.ResolveUrl(strRelativeUrl)
Returns an absolute URL corresponding to a relative URL.
Parameters
-
String
A string containing the absolute URL.
-
strRelativeUrl
A relative URL.
Example
The example maps the current relative URL to an absolute URL:
Sub Page_Load( ) Message.Text = Page.ResolveUrl("ResolveUrl.aspx") End Sub
Get ASP.NET in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.