Kendo().Menu() and SubMenuItem style

2 posts, 0 answers
  1. Dario Concilio
    Dario Concilio avatar
    172 posts
    Member since:
    Apr 2016

    Posted 07 Mar Link to this post

    Hi to all,

    I created a new project web Telerik application MVC with Razor, I added a submenu in _Layout.cshtml

    <div id="responsive-panel" class="navbar-left">
        @(Html.Kendo().Menu()
                        .Name("Menu")
                        .Items(items =>
                        {
                            items.Add().Text("Home").Action("Index", "Home", new { area = "" });
                            items.Add().Text("About").Action("About", "Home", new { area = "" });
                            items.Add().Text("Contact").Action("Contact", "Home", new { area = "" });
                            items.Add().Text("Configurazioni").Items(subitems =>
                            {
                                subitems.Add().Text("Ruoli").Action("Index", "Roles", new { area = "" });
                            });
                        })
        )
    </div>

     

    But when a try to run, I see strange style for submenu, is it correct?

  2. Ivan Danchev
    Admin
    Ivan Danchev avatar
    1332 posts

    Posted 07 Mar Link to this post

    Hello Dario,

    Could you please specify which particular submenu style you find unusual?  If it is the "Ruoli" item's white background we use white background in several of our themes, for instance Bootstrap, Fiori, Material.

    Regards,
    Ivan Danchev
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top