Kentico CMS 6.0 Controls

Getting started

Getting started

Previous topic Next topic Mail us feedback on this topic!  

Getting started

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

The following is a step-by-step tutorial that will show you how to display a tree menu based on CMS content using the CMSTreeMenu control:

 

1. Create a new Web form and use it as a page template according to the guide in the Using ASPX page templates topic.

 

2. Switch to its Design tab, drag and drop a CMSTreeMenu control from the toolbox onto the form.

 

3. Switch to the Source tab. The code of the CMSTreeMenu control should look like this:

 

<cms:CMSTreeMenu ID="CMSTreeMenu1" runat="server" />

 

4. Save the changes to the web form. Now if you look at the page using the created template on the sample Corporate Site, an unstyled tree menu will be displayed.
 

Continue this tutorial in the Appearance and styling topic to see how CSS styles can be applied to the CMSTreeMenu control.