RadMenu for ASP.NET AJAX

RadControls for ASP.NET AJAX

With Q3 2009, RadMenu supports multi-column rendering of child items.

Multi-column RadMenu

This feature is controlled through the new pair of properties - RepeatColumns and RepeatDirection (either DefaultGroupSettings or per-item GroupSettings).

The RepeatColumns property specifies the number of columns.

The RepeatDirection property determines the order in which the items are rendered.

If this property is set to RepeatDirection.Vertical, the items are displayed in columns loaded from top to bottom, then left to right, until all items are rendered.

If this property is set to RepeatDirection.Horizontal, the items are displayed in rows loaded from left to right, then top to bottom, until all items are rendered.

The RepeatDirection has no effect if RepeatColumns is set to 1 (default).

Note: Scrolling is disabled if multi-column rendering is in effect.

Example

For all menu item groups:

CopyASPX
<telerik:RadMenu runat="server" ID="RadMenu1" DataSourceID="SiteMapDataSource">
    <DefaultGroupSettings RepeatColumns="2" RepeatDirection="Vertical" />
</telerik:RadMenu>

For a specific menu item group:

CopyASPX
<items>    
    <telerik:RadMenuItem>        
        <GroupSettings RepeatColumns="2" RepeatDirection="Vertical" />    
    </telerik:RadMenuItem>
</items>

The default value of RepeatColumns is 1.