Hello everyone, I need to fill panel bar content with partial views. My current code is
@(Html.Kendo().PanelBar() .Name("reportFilters") .ExpandMode(PanelBarExpandMode.Multiple) .ExpandAll(true) .Animation(true) .Items(panelbar => { foreach (IFilterCategory filterCateg in Model) { panelbar.Add() .Text(filterCateg.DisplayName) .Content(@<text><div style="padding-top:5px;padding-left:5px;padding-right:5px">@Html.Action(filterCateg.Action, filterCateg.Controller, new { filterCateg = filterCateg })</div></text>); } } ))
and after reading the following post
http://www.telerik.com/forums/what-is-the-syntax-to-open-a-mvc-partial-page-inside-a-pannel-bar#hmqmhkbB-kyThT8J06ygng
i tried to achieve client side rendering by using LoadContentFrom and .Action() without success. The best try was hitting the controller but the object filterCateg is null.
Thanks in advance.
