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.
Regards,
Rumen
Progress Telerik
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
Hi Frank,
Thank you for the update and for confirming the versions you are using.
Yes, the versions you listed are the latest ones:
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:
ScriptManager/RadScriptManager and any RadCodeBlock/ScriptBlock sections)Regards,
Rumen
Progress Telerik