Hi,
So basically I'm trying to load the items of my PanelBar at the creation of the PanelBar. My item has a LoadContentFrom itself but it only triggers once I open the panelbar item. It used to work with the LoadOnDemand property set to false but it doesn't anymore. Any idea what is I am doing wrong here?
@(Html.Kendo().PanelBar()
.Name("panelbar")
.ExpandMode(PanelBarExpandMode.Multiple)
.HtmlAttributes(new { @class = "k-primary", type = "submit", style = "width:100%" })
.LoadOnDemand(false)
.Items(panelbar =>
{
panelbar.Add().Text("Item Title").LoadContentFrom(Url.Action("Function", "Controller", Model));
}))
Thanks again!