Hi,
Currently in KendoUI for MVC, one can load the columns for a KendoGrid by writing this in the view,
@(Html.Kendo().Grid<Object>(
.Name("Some name")
.Columns(columns =>
{
columns.LoadSettings((IEnumerable<GridColumnSettings>)ViewData["Columns"]);
})
// ...
)
where ViewData["columns"] has been set in the controller.
I'm wondering if there is some similar way of loading several series for a KendoChart. I know I could probably accomplish this using javascript and an AJAX call, but I would rather use Razor for as much as I can, and I would like to avoid making too many server calls.
Thanks!