title | page_title | description | slug |
---|---|---|---|
Chart |
Chart | Migrate from Telerik Extensions |
Handle ASP.NET MVC server-side API for the Kendo UI Chart widget. |
chart_migrationextensions_aspnetmvc |
This article demonstrates the ASP.NET MVC server-side API for the Kendo UI Chart widget.
The DataBinding
configuration is moved to the DataSource
.
Html.Telerik().Chart<SalesData>()
.Name("Chart")
.DataBinding(dataBinding => dataBinding.Ajax().Select("_AjaxBinding", "Chart"))
Html.Kendo().Chart<SalesData>()
.Name("Chart")
.DataSource(ds => ds.Read(read => read.Action("_AjaxBinding", "Chart")))
Kendo UI Complete for ASP.NET MVC does not support action syntax, that is “() => {}”
.
None of the widgets features the OnLoad
event anymore. Use $(document).ready()
instead.
.ClientEvents(events => events.OnError("onError"))
.DataSource(ds => ds.Events(events => events.Error("error")))
- [Migrate the AutoComplete]({% slug autocomplete_migrationextensions_aspnetmvc %})
- [Migrate the Calendar]({% slug calendar_migrationextensions_aspnetmvc %})
To see the articles on migrating Kendo UI controls from Telerik Extensions, browse the [Widgets folder]({% slug autocomplete_migrationextensions_aspnetmvc %}).