Telerik Extensions for ASP.NET MVC

Version Q2 2012, released 06/07/2012

Client-side API

Client API

  • 2010select

About this example ASPXRazor

This example shows how to use the client-side API of Telerik Chart for ASP.NET MVC.

To use the client-side API you should first retrieve the chart's client-side object.

<script type="text/javascript">
function getChart(){
    // The chart name is "chart"
    return $("#chart").data("tChart");
}
</script>

Available client-side methods:

  • refresh() repaints the Chart. Starting with the 2011 Q3 release this method no longer rebinds the Chart!
  • rebind(data) rebinds a client-side bound chart. You can pass a data object containing additional arguments to the action method.

Interested in HTML5 and mobile-powered ASP.NET MVC apps?

Experience the next generation UI and framework for ASP.NET MVC development by downloading trial evaluation copy of Kendo UI Complete for ASP.NET MVC. Jumpstart your development with the available learning resources.

The differences between Telerik MVC Extensions and Kendo UI Complete for ASP.NET MVC, and their licensing models are explained here and here.

If you have any questions, do not hesitate to contact us at sales@telerik.com.

Other Demos: