Tuesday, September 6, 2016

Kendo UI PanelBar with ASP.NET MVC Partial Views

If you look at the demos for the Kendo UI PanelBar, you will notice that they miss several key scenarios for addressing common issues in ASP.NET MVC Web Applications:  http://demos.telerik.com/aspnet-mvc/panelbar/index

One of the main scenarios the demos fail to address is the usage of Partial Views to render content in the PanelBar control!

Well, after going through some Kendo UI Forums, I was able to come up with this solution:

One of the things that I discovered was that I could not get the PanelBar to work with @{Html.RenderPartial("MVCView1");} and was forced to work with @Html.Partial("MVCView1"). I was not able to figure out the root cause of this discrepancy but if you have a solution to this problem, feel free to post it in the Comments section below!

No comments:

Post a Comment