Adding PanelBar(another Kendo Component) inside Menu

2 posts, 0 answers
  1. Erick
    Erick avatar
    4 posts
    Member since:
    Sep 2012

    Posted 29 Jan 2013 Link to this post


    I want to add a PanelBar inside a Menu, because I need expanded/collapsed fields inside the menu
    I tried this:

        .Items(items =>
            .Items(children =>
                    .HtmlAttributes( new { style = "width: 300px" })
                    .Items(panelbar =>
                        panelbar.Add().Text("My TeamMates")
                        .Items(it =>
    But the panel is interpreted as children and his items as inner children.

    Many thanks.
  2. Petur Subev
    Petur Subev avatar
    1882 posts

    Posted 31 Jan 2013 Link to this post

    Hello Erick,

    Adding PanelBar inside a Menu item is not supported. Both widgets are similar and they are using same classes (since they share common visual styles) for their HTML elements which causes the CSS selectors to produce such look and behavior.

    Kind Regards,
    Petur Subev
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top