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

Performance of rad Combo box

5 Answers 104 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Harin Yadav
Top achievements
Rank 2
Harin Yadav asked on 12 May 2011, 05:01 PM
hI

im adding data to rad combo using the below Script  client script

Group.trackchanges();
for(var myproduct=selDivision.nextNode();myproduct;myproduct=selDivision.nextNode()){

 

var

 

comboItem1= new Telerik.Web.UI.RadComboBoxItem();

 

if

 

(selOldUnit==myproduct.attributes(0).value){

 

 

comboItem1.set_value(myproduct.attributes(0).value);

 

comboItem1.set_text(myproduct.text);

 

Group.get_items().add(comboItem1);

 

comboItem.select();

 

}
Group.commitchages();

the same code for ASP Drop down is add data fastly.. please help me fixing this

how to set integral height true is Sourec Code

Thanks
Harin


5 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 13 May 2011, 06:53 AM
Hello Harin,

I am not quite sure about your issue. If you are dealing with large number of data, the best approach to optimize the performance speed of Telerik RadComboBox 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. It filters the Items server-side before they are loaded in the control and the Filter feature performs filtering at client-side.

And I recommend you to retrieve data in portions - with use of ShowMoreResultsBox and VirtualScrolling options.

Take a look at the this demo which demonstrates the various Load On Demand Modes.

Thanks,
Shinu.
0
Harin Yadav
Top achievements
Rank 2
answered on 13 May 2011, 07:22 AM
Hi Shinu,

let me be more clear with my requriment.

we have 6 related dropdowns  
 we started with load-on demand  for rad combo and used item requested event to load data,but this was showing loading..messag   when ever we click on arrow of rad combo.. here also performance was very slow it was taking more than 7sec for loading one combobox  which had<100 items...

now to overcome this we are loading   child radcombos on seletedindexchanged  of parent radcombo
so my first combo loads all 5 child combo..but the performace of first combo is very slow.its taking 5 sec to close after selecting and
the task bar is showing 100% CPU usage

while seraching  found that  Beginupdate() and endupdate()  & integral height  true improves the performance while add data to radcombo,how to do this on client side..??


Thanks 
harin



 

 


0
Dimitar Terziev
Telerik team
answered on 18 May 2011, 01:35 PM
Hi Harin,

I've made a sample page similar to your scenario, where in the SelectedIndexChanged event of the first combobox, the other five are loaded with 1000 items each and there hasn't been any significant lack of performance.

Probably this performance issue you are experiencing is related to some other part of your application.

In order to troubleshoot this issue, please open a support ticket and provide us with more information about the exact implementation of you scenario.

Greetings,
Dimitar Terziev
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Harin Yadav
Top achievements
Rank 2
answered on 18 May 2011, 04:29 PM
Hi ,
   we modified our logic for  getting data,now we almost reached our requriment,except my 1st drop down is taking 1 sec to close
   we are binding data to drop down in client side,
   in my search in found beginUpdate,EndUpdate,Integrall height=true will increase the perforemnce
   how to do this in Client side?????
   we are almost there.plese help me fixing this


Thanks
Harin
0
Dimitar Terziev
Telerik team
answered on 23 May 2011, 01:30 PM
Hello Harin,

RadComboBox doesn't have such client-side methods that you have mentioned. These methods are server-side ones, which the standard asp ListView and TreeView are having.

In case you are having issue with the time the RadCombobox needs to close its drop-down, my suggestion is to reduce the drop-down height and show little less items in it.

All the best,
Dimitar Terziev
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
General Discussions
Asked by
Harin Yadav
Top achievements
Rank 2
Answers by
Shinu
Top achievements
Rank 2
Harin Yadav
Top achievements
Rank 2
Dimitar Terziev
Telerik team
Share this question
or