Hello.
I want to add a PanelBar inside a Menu, because I need expanded/collapsed fields inside the menu
I tried this:
But the panel is interpreted as children and his items as inner children.
Many thanks.
I want to add a PanelBar inside a Menu, because I need expanded/collapsed fields inside the menu
I tried this:
@(Html.Kendo().Menu().Name("Menu") .Items(items => { items.Add().Text("Products") .Items(children => { children.Add().Text("Furniture"); }); items.Add().Text("Stores") .Content(@<text> @(Html.Kendo().PanelBar().Name("panelbar").ExpandMode(PanelBarExpandMode.Multiple) .HtmlAttributes( new { style = "width: 300px" }) .Items(panelbar => { panelbar.Add().Text("My TeamMates") .Items(it => { it.Add().Text("First"); it.Add().Text("Second"); }); }) ) </text>); }))Many thanks.