Configuration

  Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic! 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

Path to the node whose path should be displayed by default. This value is used in case no Path value is provided and no alias path is provided through a URL.

"/home"

EncodeName

Indicates whether the name 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

Starting part of the path.

"/products"

UrlTarget

Specifies the target frame for all URLs.

"_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.

 

Page url: http://devnet.kentico.com/docs/5_5r2/controls/index.html?cmsbreadcrumbs_configuration.htm