URLHelper ResolveUrl Method Kentico 8.1 API Reference
Resolves an application relative URL to the absolute form.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

url
Type: OnlineSystem String
Virtual application root relative URL
usePage (Optional)
Type: OnlineSystem Boolean
If true, the page object can be used to resolve URLs
ensurePrefix (Optional)
Type: OnlineSystem Boolean
If true, the current URL prefix is ensured for the URL

Return Value

Type: OnlineString
Absolute URL
See Also