From e50a10f90a2778692c4e46098a432798add9a221 Mon Sep 17 00:00:00 2001 From: P1l3T0 Date: Wed, 28 Aug 2024 13:36:05 +0300 Subject: [PATCH] docs(grid, combobox): adjust optimization articles --- controls/combobox/troubleshooting/optimizing-the-combobox.md | 2 ++ controls/grid/performance/grid-performance-optimizations.md | 4 +++- getting-started/performance/optimizing-performance.md | 2 ++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/controls/combobox/troubleshooting/optimizing-the-combobox.md b/controls/combobox/troubleshooting/optimizing-the-combobox.md index 28e7930c67..02f1c67e51 100644 --- a/controls/combobox/troubleshooting/optimizing-the-combobox.md +++ b/controls/combobox/troubleshooting/optimizing-the-combobox.md @@ -16,6 +16,8 @@ position: 1 The best approach to optimize the performance speed of Telerik RadComboBox when using huge amount of items is using the **load-on-demand** feature. The **load-on-demand** mechanism loads the items only when the user types or clicks in the field or the drop-arrow image. You can also load the items only upon clicking on the drop arrow. To do this you should set the **ShowDropDownOnTextboxClick** property to false. For even faster load of the page, you can leave the combobox empty when it is first rendered on the page. Items will be added as soon as the user clicks in the input field, the drop-arrow image or types some text into the input field. In other words, you can add the items only in the **ItemsRequested** event handler or via **WebService**. +It is important to test the performance only when debugging is disabled. Set `` in the web.config. When it is true, the MS AJAXdebugging code causes a severe performance hit on the client-side. The fact that most of the editor functionalities implemented in JavaScript, thus resulting in 10 times slower performance compared to native compiled code. + When using the load-on-demand mechanism with **ItemsRequested** event you should: 1. Set the **EnableLoadOnDemand** property to true. diff --git a/controls/grid/performance/grid-performance-optimizations.md b/controls/grid/performance/grid-performance-optimizations.md index b5ad3bda86..a2a032eee8 100644 --- a/controls/grid/performance/grid-performance-optimizations.md +++ b/controls/grid/performance/grid-performance-optimizations.md @@ -39,7 +39,9 @@ When you present large number of records at once you will see delays in the grid 7. You could use [RadAjaxManager]({%slug ajaxmanager/overview%}) controls to Ajax-ify the Grid instance and thus to receive partial updates from the service only for the Grid instance, not the whole page. -8. Finally could use [RadCompression ]({%slug controls/radcompression%}) to compress the responce from the server in case of Ajax and service responses. +8. It is important to test the performance only when debugging is disabled. Set `` in the web.config. When it is true, the MS AJAXdebugging code causes a severe performance hit on the client-side. The fact that most of the editor functionalities implemented in JavaScript, thus resulting in 10 times slower performance compared to native compiled code. + +9. Finally could use [RadCompression ]({%slug controls/radcompression%}) to compress the responce from the server in case of Ajax and service responses. ## Steps to optimize the server performance: diff --git a/getting-started/performance/optimizing-performance.md b/getting-started/performance/optimizing-performance.md index 76ec2a74b1..f86699ca61 100644 --- a/getting-started/performance/optimizing-performance.md +++ b/getting-started/performance/optimizing-performance.md @@ -48,6 +48,8 @@ The ScriptManager and the StyleSheetManager controls also enable you to download 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 `Telerik.ScriptManager.TelerikCdn.CombinedResource` and `Telerik.StyleSheetManager.TelerikCdn.CombinedResource` [`appSettings` keys]({% slug general-information/web-config-settings-overview %}) to `enabled`. This configuration is exposed for an individual instance through the `CdnSettings-CombinedResource` property. +It is important to test the performance only when debugging is disabled. Set `` in the web.config. When it is true, the MS AJAXdebugging code causes a severe performance hit on the client-side. The fact that most of the editor functionalities implemented in JavaScript, thus resulting in 10 times slower performance compared to native compiled code. + The following table lists Telerik UI for ASP.NET AJAX controls and the resources for their performance optimization. |Controls|Solutions for Performance Optimization