Setting Up the License File
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
Step 1: Get the License File
This section contains auto-generated content based on the license information for your account.
To acquire a license file, generate it:
Step 2: Add the License File
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||
Step 3: Add a Reference to the License File
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 -->
Frequently Asked Questions
This section lists the answers to the most frequently asked questions (FAQs) about working with the Telerik UI for ASP.NET MVC license key.
Do I need to generate a new license file if I have renewed my license?
Yes, but only If you upgrade the version of our product in your application with the new version.
What happens if a developer leaves?
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).
Which versions of Telerik UI for ASP.NET MVC does this affect?
For CDN usage: Starting from R3 2022
For NPM: Starting from R2 2022
Will projects stop working if we do not renew?
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).
Will the product function without a license key?
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.
Does the license key expire?
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.
I renewed my license key, but the warning message still appears in the console. What should I do?
Make sure that the script license is present in your project and you have correct references to it.
Do I need an Internet connection to activate the license?
No, the license activation and validation are performed entirely offline.
No network requests are made at any point of the project lifecycle.
My team has more than one licensed developer. Which key do we have to use?
To activate Telerik UI for ASP.NET MVC, you can use any of the keys associated with your subscriptions.
Are earlier versions of Telerik UI for ASP.NET MVC affected?
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