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

Providing Client-Side Resources for Telerik UI for ASP.NET Core

This article outlines the approaches for adding the Kendo client-side assets to your application.

The Telerik UI for ASP.NET Core suite is a set of server-side wrappers over the Kendo UI for jQuery client-side widgets. To use the UI for ASP.NET Core components in an application, you need not only the binaries that enable you to use the TagHelpers and HtmlHelpers, but also the required JavaScript and CSS client-side web assets.

Available Approaches

You can use the following methods for adding the Kendo client-side resources to your project:

  • Using local files

    You can provide the client-side assets by downloading the required JavaScript and CSS files from the Telerik website and then copying them in your project. For the detailed step-by-step procedure, see the Using Local Files article.

  • Using LibMan

    The LibMan client-side library management tool allows you to fetch the Kendo UI client-side files that are distributed as NPM packages and place them in a folder within your ASP.NET Core project. The scripts in the NPM packages are not usable in the browser. This requires you to use a bundler such as WebPack. For the detailed step-by-step procedure, see the Using LibMan article.

  • Using CDN

    The Kendo UI client-side resources like JavaScript files and CSS files are available online through the Kendo CDN service. This allows you to configure your project to import the client-side resources directly from the CDN. For more details, see the Using CDN article.

Creating Custom Script Bundles

Depending on the Telerik UI components that you use in your project, you may need lighter scripts that support only the components in your application. You have the choice to select scripts for individual components or to create your custom scripts. For more details, see Creating Your Own Custom Script Bundles.

Next Steps

See Also

In this article