Kentico CMS 7.0 Controls

Configuration

Configuration

Previous topic Next topic Mail us feedback on this topic!  

Configuration

Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic!  

The following properties of the CMSBreadCrumbs control can be set or used in the API:

 

All of the common properties from:

 

CMS controls - common properties

CMS navigation - common properties

 

In addition, the following properties are available:

 

Property Name

Description

Sample Value

BreadCrumbSeparator

Character(s) that separate the bread crumbs. You can use HTML code here.

">>"

BreadCrumbSeparatorRTL

Character(s) that separate the bread crumbs in RTL mode. You can use HTML code here.

"<<"

DefaultPath

Sets a default path that will be displayed in the breadcrumbs if no path is provided from the current page context.

"/home"

EncodeName

Indicates whether the items in the breadcrumbs should be HTML encoded.

 

IgnoreShowInNavigation

The ShowInNavigation document property is ignored if this property is true.

 

LoadDataAutomaticaly

Indicates whether data for the control should be loaded automatically. By default, the data is loaded automatically.

 

If you set this property to false, you can enter a custom DataSet into the DataSource property and then call the ReloadData(false) method.

 

RenderedHTML

Allows you to get or set the HTML code rendered by the control.

 

You need to set this property before the Render event - e.g. in the OnLoad event.

 

RenderLinkTitle

Specifies if the document name should be rendered as a TITLE tag of links (for better accessibility).

 

ShowCurrentItem

Indicates if the current (last) item should be displayed. True by default.

 

ShowCurrentItemAsLink

Indicates if the current (last) item should be displayed as a link. False by default.

 

StartingPath

Selects the document from which the path in the breadcrumbs will be displayed. Enter / (root document) to have the breadcrumbs display the full website path.

 

For example, if you set this value to /News and go to /News/Events/2010, the breadcrumbs will display only Events -> 2010.

"/products"

UrlTarget

Specifies the target frame for all links generated by the breadcrumbs.

"_blank"

UseRtlBehaviour

Indicates whether the bread crumbs should be rendered in the RTL direction for specific languages.

 

 

Mentioned method:

 

Method Name

Description

ReloadData(bool forceLoad)

Reloads the data.

 

If the forceLoad parameter is set to false and a value is assigned to the DataSource property, the properties of the CMSBreadCrumbs control are not used and only the data from the DataSource is loaded.