Providing Client-Side Resources for Telerik UI for ASP.NET MVC
This article outlines the approaches for adding the Kendo client-side assets to your application.
You can use the following methods for adding the Kendo client-side resources to your project:
Using local files
Creating Custom Script Bundles
Depending on the Telerik UI components that you use in your project, you may need only the scripts that support the components in your application. To identify the scripts that you must include in your application, check the documents under Installation > Providing Client-Side Resources > Creating Custom Script Bundles. For example, to find out what scripts are required to use the Telerik UI Charts, see the Individual Scripts for Charts document.
- Do not use multiple custom combined scripts, as they will contain duplicate code. Instead, create one combined script file, which includes everything you need.
- Do not use RequireJS to load Download Builder packages because the tool will not create the required AMD modules.
- Make sure the
Server Wrapperscheckbox is checked—this will include the scripts required by the wrappers.
- Setting Up the License File
- Using Local Files to Add Client-Side Resources
Creating Your Own Custom Script Bundles with Client-Side Resources