Getting started

  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 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 some website, a tree menu similar to the following will be displayed (this menu uses the sample Corporate Site stylesheet):
 

controls_clip0022

 

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

 

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