This article summarizes the most important resources and tips and tricks you can use to improve the performance of your project.
The Optimization Tips series in the Telerik blog includes the following blog posts:
When loading a page with several controls on it, the number of these files can become very large, often resulting in a reduced page load time and increased traffic. The reason for this problem is that browsers make separate requests to the server for each of these resources.
Usually, this problem is overcome by disabling the automatic script and stylesheet serving the controls, combining them into a smaller set of files and manually registering the links to these files in the page.
This approach is not the best for a number of reasons:
You must extract the files from the assembly for each control release.
Files become too large to be maintainable or you have to write a script to merge the source files.
The number of the merged files you need to maintain can become very large depending on the control sets you have on different pages.
The ScriptManager and the StyleSheetManager controls also enable you to download the resources the Telerik controls need from the Telerik CDN instead of using WebResource requests. To do that, set their
CdnSettings-TelerikCdn property to
Enabled. For more information, refer to the CDN Overview article. Using the CDN takes load off your server and improves resource caching.
Downloading from the CDN, however, will result in a request for each individual file (script, stylesheet, font, and so on). You can improve the CDN performance even further by instructing the controls to fetch a combined resource of all scripts and base stylesheets for all the controls in a single request by toggling the
appSettings keys to
enabled. This configuration is exposed for an individual instance through the
The following table lists Telerik UI for ASP.NET AJAX controls and the resources for their performance optimization.
|Controls||Solutions for Performance Optimization|
|TreeView||Optimizing the TreeView performance|
|Captcha||Disabling the Captcha audio to eliminate requests to the built-in audio handler|
|ComboBox||Optimizing the Combobox performance|
|Menu||Optimizing the Menu performance|
|TabStrip||Optimizing the TabStrip performance|
|Inputs and TextBoxes||Performance problems can be caused by using inputs and textboxes in templates of list controls. A better idea is to create an outside edit form similar to the one demonstrated in the Client-side edit, update, delete and insert with Controls for ASP.NET AJAX, WebServices and LINQ article.|
|ToolTip||Optimizing the ToolTip performance|
|Scheduler||Optimizing the Scheduler performance|
|HtmlChart||Optimizing the HtmlChart performance|
|AjaxPanel and AjaxManager||Optimizing performance by using the AjaxManager|