De we have a way to user Panel bar like a menu?
I try to pass some parameters in my PanelItem to ba able to react in the Select event.
I use MVC like this:
I whan to add more information provided in my MuniItemModel like (Url, group) than retrive it in my OnMenuSelect.
Any Suggestion?
I try to pass some parameters in my PanelItem to ba able to react in the Select event.
I use MVC like this:
@(Html.Kendo().PanelBar()
.Name(
"Navigation"
)
.ExpandMode(PanelBarExpandMode.Single)
.Events(events => events
.Select(
"OnMenuSelect"
))
.HtmlAttributes(
new
{ style =
"width: 200px;"
})
.BindTo(Model, mappings =>
{
mappings.For<umbBaultar.Models.Shared.MenuItemModel>(binding => binding
.ItemDataBound((item, MenuItemModel) => {
item.Text = MenuItemModel.Nom;
})
.Children(MenuItemModel => MenuItemModel.SousMenu));
})
)
I whan to add more information provided in my MuniItemModel like (Url, group) than retrive it in my OnMenuSelect.
Any Suggestion?