CMSTabControl |
The CMSTabControl control is inherited from the BasicTabControl control. It allows you to display one-level tab menu based on data from Kentico CMS. It reads specified documents and renders the menu according to their values.
It allows you to display menu items specified using their path, depth, document type and WHERE condition. The CMSTabControl control displays content without writing any additional code. The items are sorted by MenuItemOrder and MenuItemCaption values.
See also: Using macro expressions in menu items, Using the CSSPrefix property for design of sub-menus
Inherits: BasicTabControl, CMSMenuProperties - common properties
Properties
Methods
Design
You can modify the design using the same classes as for the BasicTabControl control.
Example
This example will show you how to display a simple tab-menu based on the CMS content. It assumes that you have configured your project for Kentico CMS Controls.
[C#], [VB.NET]
[C#], [VB.NET]
|