Kentico CMS 6.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!  

As it is inherited from the BasicTabControl control, the CMSTabControl control has all of its properties. These can be found in the BasicTabControl -> Configuration topic.

 

In addition, it has the following properties that can be set or used in the API:

 

Those of the common properties that have meaning for a single level tab menu:

 

CMS controls - common properties

CMS navigation - common properties

 

As well as:

 

Property Name

Description

Sample Value

EncodeMenuCaption

Indicates whether HTML encoding should be applied to the captions of menu items. Useful only in special cases where the names of the displayed documents contain HTML code.


HighlightedNodePath

Path of the item that should be highlighted as if selected. If you omit this value, the control automatically uses the current alias path from the aliaspath querystring parameter.

"/products/notebooks"

LoadDataAutomaticaly

Indicates whether data for the control should be loaded automatically. This is performed by default.

 

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


RenderImageAlt

Indicates whether the ALT attribute should be rendered for images used in the menu (for XHTML compatibility).


 

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 CMSTabControl control are not used and only the data from the DataSource is loaded.