This example shows how to configure the Telerik Menu for ASP.NET MVC to render its items in horizontal or vertical direction.
Use the Orientation method to set the orientation of the menu. The method accepts the MenuOrientation enumeration:
<%= Html.Telerik().Menu()
.Items(items =>
{
/*items definition*/
})
.Orientation(MenuOrientation.Horizontal)
%>
<%= Html.Telerik().Menu()
.Items(items =>
{
/*items definition*/
})
.Orientation(MenuOrientation.Vertical)
%>