New to Telerik UI for ASP.NET MVC? Download free 30-day trial

Adding a License File

Using any Kendo UI client-side assets that are installed through NPM or imported through the Kendo UI CDN requires you to provide a license file. Follow the steps in this article to download a license file, add it to your application, and then reference it.

Providing a license file is not required when using locally downloaded client-side assets that come with the commercial MSI installer or commercial ZIP and 7Z asset archives.

A missing license file causes a banner, a watermark, and a message in the browser's console to appear:

  • Example of a watermark in the Light Theme Watermark over Grid with Light Theme

  • Example of a watermark in the Dark Theme Watermark over Grid with Dark Theme

  • A banner on pages that use unlicensed Kendo UI for jQuery components Banner

  • A message in the browser's console Browser console message: License activation failed for @progress/kendo-ui. No license found.

To add a client-side assets license file to your application:

  1. Download a license file
  2. Add the license file in your application
  3. 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 get a license file, generate it:

Step 2: Add the License File

Place the kendo-ui-license.js file in the root of the application or in the main scripts folder.

The following table shows the most common location where you can include the license file in your application.

Type of Application Common Locations
ASP.NET MVC applications
  • ~/
  • ~/Scripts

Step 3: Add a Reference to the License File

Add the kendo-ui-license.js file as a script reference right after the kendo.aspnetmvc.min.js reference or the Kendo scripts you are using. For example:

  • Adding the license file after a CDN reference to kendo.all.min.js and kendo.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 -->
    
  • Adding the license file after a CDN reference to 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 -->
    

Next Steps

See Also

In this article