URLHelper ResolveUrl Method Kentico 8.0 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.0.5239.26125)

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