UIContextHelper GetElementUrl Method (UIElementInfo, Boolean, Int32, String)Kentico 8.0 API Reference
Returns element's URL

Namespace: CMS.PortalEngine
Assembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

ui
Type: CMS.Modules UIElementInfo
UI element info.
displayTitle
Type: OnlineSystem Boolean
Indicates whether append displaytitle to result URL.
objectId (Optional)
Type: OnlineSystem Int32
Indicates whether append object ID to URL.
additionalQuery (Optional)
Type: OnlineSystem String
Additional query to append to URL

Return Value

Type: OnlineString
See Also