New to Telerik UI for ASP.NET Core? Download free 30-day trial

MenuOpenOnClickBuilder

Methods

RootMenuItems(System.Boolean)

Defines whether the root menus should be opened on each click.

Parameters

enabled - System.Boolean

Example


             @( Html.Kendo().Menu()
                        .Name("Menu")
                        .OpenOnClick(o => o.RootMenuItems(true))
            )

Defines whether the sub menus should be opened on each click.

Parameters

enabled - System.Boolean

Example


             @( Html.Kendo().Menu()
                        .Name("Menu")
                        .OpenOnClick(o => o.SubMenuItems(true))
            )

In this article
Not finding the help you need?