Removing the Kendo License Warning
Environment
Product | Telerik UI for ASP.NET MVC |
Progress Telerik UI for ASP.NET MVC version | 2022.3.913 |
Description
After upgrading, there is a warning in the console stating the following:
License Activation failed for @progress/kendo-ui
No license found
A watermark for the component I have been using:
And a banner which indicates that my license is not found:
The application seems to be running. How can I remove the warning, watermark, and banner?
Solution
The license warning will surface because of the new licensing mechanism introduced with the R3 2022
release. To remove the warning:
- Generate a license file.
-
Add the license file after the CDN reference to
kendo.all.min.js
andkendo.aspnetmvc.min.js
.<script src="https://kendo.cdn.telerik.com/***/kendo.all.min.js"></script> <script src="https://kendo.cdn.telerik.com/***/kendo.aspnetmvc.min.js"></script> <script src="~/kendo-ui-license.js"></script> <!-- Rest of the HTML -->
The license file mechanism does not break any builds and does not affect existing applications. It acts as verification when the CDN or NPM distribution channel is utilized for the client-side resources.