Chart Migration

This article demonstrates the ASP.NET MVC server-side API for the Kendo UI Chart widget.

Server-Side API

Data Binding

The DataBinding configuration is moved to the DataSource.

    .DataBinding(dataBinding => dataBinding.Ajax().Select("_AjaxBinding", "Chart"))

    .DataSource(ds => ds.Read(read => read.Action("_AjaxBinding", "Chart")))

Client-Side API


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")))

See Also

To see the articles on migrating Kendo UI controls from Telerik Extensions, browse the Widgets folder.

In this article
Not finding the help you need? Improve this article