Completed
Last Updated: 27 Feb 2026 10:48 by ADMIN
Release 2026 Q1 SP1
Rumen
Created on: 16 Feb 2026 08:53
Category: HtmlChart
Type: Bug Report
0
The HtmlChart throws Uncaught ReferenceError: kendo is not defined

After upgrading to Telerik UI for ASP.NET AJAX 2026 Q1 (2026.1.211.462) the HtmlChart Sparkline cannot initialize.

The demo page loads, but the chart is empty and the component is not usable.

The browser console shows a JavaScript initialization failure originating from the Telerik scripts.

The first error thrown is:

Uncaught ReferenceError: kendo is not defined
    at Telerik.Web.UI.WebResource.axd...

Immediately after that a second error appears:

Uncaught TypeError: kendo.jQuery(...).kendoSparkline is not a function

The second error is a cascade failure because the Kendo widgets are never registered due to the first error.

 

5 comments
ADMIN
Rumen
Posted on: 27 Feb 2026 10:48
Hi Frank,

Thank you for the follow-up and for taking the time to share this insight. You are absolutely right, the need to create an alias via var kendo = $telerik._kendo; before loading external Kendo culture scripts should be clearly documented.

We have updated the Localization article to reflect this requirement. The code sample now demonstrates the correct order of operations, loading the ScriptManager first, creating the alias, and then loading the culture script. We also added an important note explaining the 2026 Q1 encapsulation change.

Beyond that, we took the opportunity to review and update over 45 related articles across the documentation, including code samples for HtmlChart, Diagram, Map, Gantt, Chat, Spreadsheet, MultiColumnComboBox, MultiSelect, Signature, OTPInput, Editor, TreeMap, DataForm, and several Knowledge Base articles, to ensure all bare kendo. references are replaced with the proper $telerik._kendo alias or a local variable pointing to it.

As a small token of our gratitude for helping us improve the documentation, we have awarded your Telerik account with Telerik Points.

 

Regards,
Rumen
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
Frank
Posted on: 27 Feb 2026 05:28

Hi Rumen,

i missed the script:
<script>
    let kendo = $telerik._kendo;
</script>

to tell the 'kendo.culture.{...}.min.js script to use the existing embedded Telerik widgets.

I think this is a solution that needs to be considered and is more of a workaround that should be documented.

Kind regards,
Frank Weller

ADMIN
Rumen
Posted on: 26 Feb 2026 08:14

Hi Frank,

Thank you for the update and for confirming the versions you are using.

Yes, the versions you listed are the latest ones:

  • Telerik UI for ASP.NET AJAX: 2026.1.225.462
  • Kendo UI for jQuery: 2026.1.212

Regarding the "Uncaught ReferenceError: kendo is not defined" error - this is expected if the page includes Kendo culture scripts (or any custom code) that directly references the global window.kendo object. In the Telerik UI for ASP.NET AJAX templates, Kendo is encapsulated and exposed through $telerik._kendo, so window.kendo is not available by default.

To resolve this, please create an alias to the correct Kendo instance after the RadScriptManager is loaded and before you load and execute the culture scripts:

<telerik:RadScriptManager ID="RadScriptManager1" runat="server">
</telerik:RadScriptManager>

<telerik:RadCodeBlock runat="server">
    <script>
        // create an alias for the kendo pointing to $telerik._kendo
        let kendo = $telerik._kendo;
    </script>
    <script type="text/javascript" src="/scripts/kendoui/2026.1.212/js/cultures/kendo.culture.<% =CurrentUICultureTwoLetterISOLanguageName %>.min.js"></script>
    <script type="text/javascript">
        kendo.culture(‘<% =CurrentUICultureTwoLetterISOLanguageName %>’);
    </script>
</telerik:RadCodeBlock>

This way, the culture scripts (and the kendo.culture(...) call) will work as expected, while still keeping the encapsulated Kendo instance used by the Telerik controls.

If you still see the error after applying the above, please send us:

  • The full markup of the page (especially the ScriptManager/RadScriptManager and any RadCodeBlock/ScriptBlock sections)
  • A screenshot of the browser console showing the exact error and the line that throws it
  • Confirmation whether the culture scripts are loaded on the same page where the HtmlChart is initialized

Regards,
Rumen
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
Frank
Posted on: 26 Feb 2026 07:02
Hello everyone,
has the error been fixed now?
I have updated the RCAJAX version to 2026.1.225.462 and am using KendoUI version 2026.1.212.

Nevertheless, the error ‘Uncaught ReferenceError: kendo is not defined’ still occurs in the following code block.

<telerik:RadCodeBlock runat="server">
    <script type="text/javascript" src="/scripts/kendoui/2026.1.212/js/cultures/kendo.culture.<% =CurrentUICultureTwoLetterISOLanguageName %>.min.js"></script>
    <script type="text/javascript">
        kendo.culture(‘<% =CurrentUICultureTwoLetterISOLanguageName %>’);
    </script>
</telerik:RadCodeBlock>

I am using a customised bug fix from the following website, which I still cannot remove with the current version.
https://feedback.telerik.com/aspnet-ajax/1709819-referenceerror-kendo-is-not-defined-in-version-2026-q1

I am referring to the documentation available here:
https://www.telerik.com/products/aspnet-ajax/documentation/controls/htmlchart/accessibility-and-internationalization/localization

Kind regards,
Frank Weller

ADMIN
Rumen
Posted on: 17 Feb 2026 14:10
Update: The error is caused by the 2026 Q1 jQuery encapsulation change, the fix is already applied internally (in source), and is planned for the upcoming service pack, with the exact release date still being finalized.