This is a migrated thread and some comments may be shown as answers.

Client side performance using a lot of RadComboBox on RadGrid

3 Answers 119 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Sam
Top achievements
Rank 1
Sam asked on 23 Mar 2012, 04:32 AM
Hi Telerik Team,

My RadGrid have 5 columns ( 4 GridBoundColumn, 1 template column with RadComboBox control).
I change page size of my RadGrid to 2k records anh it's too slow to render my Radgird.

View source of the page, each RadComboBox will be added a script bellow:

Sys.Application.add_init(function() 
$create(Telerik.Web.UI.RadComboBox, {"_dropDownWidth":0,"_height":0,"_isAspNet35":true,"_skin":"Web20","_uniqueId":"rdgDemo1$ctl00$ctl200$txtProjectPaid_20101","clientStateFieldID":"rdgDemo1_ctl00_ctl200_txtProjectPaid_20101_ClientState","collapseAnimation":"{\"duration\":450}","expandAnimation":"{\"duration\":450}","itemData":[]}, null, null, $get("rdgDemo1_ctl00_ctl200_txtProjectPaid_20101"));
});

So, if my radgrid have 2k records, my page will have 2k above script.  It's very slow....

Could you give me any solutions to solve this?

Thanks!

3 Answers, 1 is accepted

Sort by
0
Sam
Top achievements
Rank 1
answered on 26 Mar 2012, 04:03 AM
Please, help me! Thanks so much!
0
Sam
Top achievements
Rank 1
answered on 27 Mar 2012, 02:35 AM
Anyone can help me? It's very urgent for me. Thanks!
0
Dimitar Terziev
Telerik team
answered on 27 Mar 2012, 08:12 AM
Hello,

The experienced behavior is the expected one considering the amount of markup which will be rendered on the page. In order to increase the performance you have two options, the first one is to load the items of these template comboboxes on demand. This should increase the performances upon initial load since the markup for the items won't be rendered on the page. The second approach would be to use the Simple rendering of the RadComboBox. Please note that some of the functionalities are not availble when this rendering is being used. Here is a help article on this matter.

Kind regards,
Dimitar Terziev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
ComboBox
Asked by
Sam
Top achievements
Rank 1
Answers by
Sam
Top achievements
Rank 1
Dimitar Terziev
Telerik team
Share this question
or