Resolve Kendo UI for jQuery License Warning in ASP.NET Core with Telerik Reporting
Environment
| Product | Progress® Telerik® Reporting | Progress® Telerik UI for ASP.NET Core |
| Version | 19.0.25.211+ | 2025.1.227+ |
Description
When using the HTML5 Report Viewer or Web Report Designer in an ASP.NET Core application that references the full Kendo UI for jQuery library (for example, kendo.all.min.js from a CDN), a license validation warning appears in the browser console.
The warning appears specifically on pages that contain only the Report Viewer or Web Report Designer without any other Telerik UI for ASP.NET Core components.
Example CDN reference in _Layout.cshtml:
<script src="https://kendo.cdn.telerik.com/2025.1.227/js/kendo.all.min.js"></script>
Cause
This issue occurs because you are referencing the full Kendo UI for jQuery distribution instead of the Telerik Reporting Kendo UI subset.
Telerik Reporting includes a special Kendo UI for jQuery subset that contains only the components required by the Report Viewer and Web Report Designer. The subset files are located in the Telerik Reporting installation directory:
- Report Viewer:
C:\Program Files (x86)\Progress\Telerik Reporting {VERSION}\Html5\ReportViewer\js\telerikReportViewer.kendo-{VERSION}.js - Web Report Designer:
C:\Program Files (x86)\Progress\Telerik Reporting {VERSION}\Html5\ReportDesigner\js\webReportDesigner.kendo-{VERSION}.min.js
These subset files include only the Kendo UI components required by the Report Viewer and Web Report Designer, which is why they do not require license validation but have limited capabilities compared to the full Kendo UI for jQuery library.
When you reference the full Kendo UI for jQuery library, it requires license validation. Telerik UI for ASP.NET Core includes Kendo UI for jQuery as part of the product and performs this validation automatically by detecting Telerik UI for ASP.NET Core components on the page.
Since Telerik Reporting is a separate product with its own licensing, the Report Viewer and Web Report Designer do not automatically trigger the Telerik UI for ASP.NET Core license validation mechanism when they are the only components on the page.
Solution
Add the ActivateKendoScripts() helper method to pages that contain the Report Viewer or Web Report Designer. This method acts as a placeholder component that activates the Kendo UI for jQuery license validation.
@(Html.Kendo().ActivateKendoScripts())
<div id="reportViewer1"></div>
<script>
$(document).ready(function () {
$("#reportViewer1").telerik_ReportViewer({
serviceUrl: "api/reports/",
reportSource: {
report: "Report1.trdp"
},
viewMode: telerikReportViewer.ViewModes.INTERACTIVE,
scaleMode: telerikReportViewer.ScaleModes.SPECIFIC,
scale: 1.0
});
});
</script>
After adding ActivateKendoScripts(), the Telerik UI for ASP.NET Core license validation mechanism will detect a component on the page and properly activate the Kendo UI for jQuery license, eliminating the warning.
Notes
- The
ActivateKendoScripts()method does not render any visible content; it only serves as a placeholder component for license activation. - This solution is only necessary when using the full Kendo UI for jQuery library.
- If your application does not use other Telerik UI for ASP.NET Core components, consider using the Telerik Reporting Kendo UI subset (described in the Cause section) instead of the full library to avoid this issue entirely.