ASPX templates
Version 5.x > ASPX templates > Dynamic Menu & Submenu View modes: 
User avatar
fan4u - 9/2/2011 10:30:04 PM
Dynamic Menu & Submenu
Hi ,

We have a requirement for Dynamic Menu & Submenu .

submenu is horizontal submenu

Submenu should be slide in & out on menu click ( )

& also Submenu should be scrollable like (

i can achieve the slide in & slide out using jquery & dynamic scroll divs & css classes.

But want to know what is the best way of achieveing this Menu system.

Is it CMSMenu (or) ListMenu (or) Nested Repeater

Menu & submenu related information can be retrieved from tables

Please provide me some sample examples (or) reference links which can help me to achieve this.


User avatar
Kentico Developer
Kentico Developer
kentico_ivanat - 9/5/2011 6:09:50 AM
RE:Dynamic Menu & Submenu

according to your description it seems that you will need to create a custom layout. For this you could use nested repeaters, i.e. insert second repeater into transformation of the first one. In the following example is used datalist as nested control, but you can use a repeater if you want:

<strong><a href="<%# ResolveUrl(GetUrl( Eval("NodeAliasPath"), null)) %>">
<%# Eval("DocumentName") %></a></strong>
<br />

<cc1:CMSDataList ID="CMSDataList1" runat="server" ClassNames="cms.article" Path='<%# Eval("NodeAliasPath") %>'

TransformationName="cms.article.default" RepeatColumns="2" >


<script runat="server">
protected void Page_PreRender(object sender, EventArgs e)

This way you can create a layout which you need.

Best regards,
Ivana Tomanickova