This article describes how to activate the required client-side scripts from the CDN and NPM distribution by generating a personal license file.
As of the following releases, using any Telerik UI for ASP.NET MVC components from the Kendo CDN service and from the NPM distribution channel requires a license registration:
- R3 2022 for the Kendo CDN service
- R2 2022 for the NPM distribution channel
Depending on the license you own, you can register an active trial license key or a commercial license key.
If you are experiencing any issues related to the license file, inform the team through the available support channels.
- The script license registration is required only for the CDN distribution and the commercial NPM package (
@progress/kendo-ui). For locally downloaded client-side scripts, you do not need a license registration.
- The license key will be distributed along with the scripts, which can not be avoided. However, Progress recommends that you do not announce it publicly.
The license key installation process involves the following steps:
- Download a license file
- Add the license file in your application
- Add a Reference to the License File
This section contains auto-generated content based on the license information for your account.
To acquire a license file, generate it:
To register the Kendo UI product, add the
kendo-ui-license.js file in the root of the application or the main scripts folder. The following table shows the most common location where you can include it in your application.
|Type of Application||Common Locations|
|ASP.NET MVC applications||
kendo-ui-license.js file as a script reference right after the
kendo.aspnetmvc.min.js reference or the Kendo scripts you are using.
An example of using a CDN reference with
<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 -->
An example of using a CDN reference with a predefined list of scripts
<script src="https://kendo.cdn.telerik.com/***/kendo.core.min.js"></script> <script src="https://kendo.cdn.telerik.com/***/kendo.userevents.min.js"></script> <script src="https://kendo.cdn.telerik.com/***/kendo.draganddrop.min.js"></script> <script src="https://kendo.cdn.telerik.com/***/kendo.popup.min.js "></script> <script src="https://kendo.cdn.telerik.com/***/kendo.fx.min.js"></script> <script src="https://kendo.cdn.telerik.com/***/kendo.window.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 -->
This section lists the answers to the most frequently asked questions (FAQs) about working with the Telerik UI for ASP.NET MVC license key.
Yes, but only If you upgrade the version of our product in your application with the new version.
It does not affect your licensing key. The license key is generated against a specific range of versions. It will be valid as long as the license code is valid for the product version used (for example, the license file should be changed only when you upgrade the Telerik UI for ASP.NET MVC).
For CDN usage: Starting from R3 2022
For NPM: Starting from R2 2022
No, the licensing mechanism does not control the components behavior. Also, the licensing mechanism performs a check if the user (who authenticated in the docs to generate the license file) has a license for the version of our product used in the application. Note that our licenses are perpetual (see EULA).
Yes, the product will continue to function normally without a license key. However, a warning message will appear in the browser console if a valid license key is not present.
Yes, the license key expires at the end of your support subscription:
For trial users, this is at the end of your 30-day trial.
For licensed developers, this is when your subscription expires.
You will need to obtain and install a new license key after starting a trial, renewing a license, or upgrading a license.
NOTE: An expired license key is valid for all Product versions published before its expiration date.
No, the license activation and validation are performed entirely offline.
No network requests are made at any point of the project lifecycle.
To activate Telerik UI for ASP.NET MVC, you can use any of the keys associated with your subscriptions.
No, if you use the CDN service and a version released prior to R3 2022, or NPM with a version released prior to R2 2022, you do not have to set up the licensing.
- Using CDN to Add Client-Side Resources
- Creating Your Own Custom Script Bundles with Client-Side Resources