[Solved] getKendoChart unknown

1 Answer 17 Views
Chart (HTML5)
Fit2Page
Top achievements
Rank 2
Bronze
Iron
Iron
Fit2Page asked on 01 May 2026, 07:44 AM

This always worked till now:

var chart = $("#ctl00_RecordOverview_rc_heaterpower").getKendoChart();

 

Now we get:

 

service.aspx?id=7&mt=M999&mv=01&ms=00003:217 Uncaught TypeError: $(...).getKendoChart is not a function
    at init (service.aspx?id=7&mt=M999&mv=01&ms=00003:217:83)
    at HTMLDocument.<anonymous> (service.aspx?id=7&mt=M999&mv=01&ms=00003:265:29)
    at i (Telerik.Web.UI.WebResource.axd?

 

Anyone knows what is happening here?

 

Regards,

Marc

1 Answer, 1 is accepted

Sort by
0
Vasko
Telerik team
answered on 04 May 2026, 08:31 AM

Hello Marc,

The proper way to get the underline Kendo Chart from the ASP.NET AJAX wrapper would be to call the underline get_kendoWidget() method:

let chart = $find("<%= ColumnChart.ClientID %>");
let kendoChart = chart.get_kendoWidget();

Regards,
Vasko
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Telerik family, check out our getting started resources
Fit2Page
Top achievements
Rank 2
Bronze
Iron
Iron
commented on 04 May 2026, 09:26 AM

With this:

                                let par = $("#ctl00_RecordOverview_rc_heaterpower");
                                let chart = par.get_kendoWidget();

I still get:

service.aspx?id=4&mt=M999&mv=01&ms=99999:745 Uncaught TypeError: par.get_kendoWidget is not a function

 

while my source says:

<div id="ctl00_RecordOverview_rc_heaterpower" class="RadHtmlChart RadHtmlChart_Bootstrap k-chart" style="height: 300px; width: 100%; position: relative; touch-action: none;" data-role="chart"><svg style="width: 100%; height: 100%; overflow: hidden; left: -0.428589px; top: -0.196533px;" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1"><defs><clipPath id="kdef13">ETCETERA

Vasko
Telerik team
commented on 04 May 2026, 10:22 AM

Hello Marc,

Since you are using the jQuery syntax to get a reference to the DOM object, you will need to access its first element (the Chart) anmd then call the get_kendoWidget() method:

let chart = $("#ColumnChart")[0].control;
let kendoChart = chart.get_kendoWidget();

Regards,
Vasko
Progress Telerik

Fit2Page
Top achievements
Rank 2
Bronze
Iron
Iron
commented on 05 May 2026, 06:39 AM

Thank you Vasko, it works now!
Tags
Chart (HTML5)
Asked by
Fit2Page
Top achievements
Rank 2
Bronze
Iron
Iron
Answers by
Vasko
Telerik team
Share this question
or