Configuration

  Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic! 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 the menu captions should be HTML encoded.


HighlightedNodePath

Path of the item that should be highlighted as if it were 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. 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.


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.

 

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