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

Combo Items clear problem!

2 Answers 56 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Tom
Top achievements
Rank 1
Tom asked on 31 Aug 2010, 06:49 PM
Hello all,
In my project, i got 3 comboboxes. When the user clicks the first combobox and chooses an item, then the second combobox is loaded with  some data. The same mechanism works just fine when the user chooses items for the first time. When the user has already choosen the items on the 3 comboboxes, and tries to change the value in one of the comboboxes, then the following code is being used:

cmbArrondisement.Items.Clear();
  
foreach (RadComboBoxItem item in Middle_Tier.SideFormFunc.ConvertToComboBoxItem Middle_Tier.SideFormFunc.LoadArrondisements(Convert.ToString(cmbMunicipality.SelectedValue))))
{
  cmbArrondisement.Items.Add(item);
}

By the time that the program reaches cmbArrondisement.Items.Clear(); command, then it freezes and after 1 or 2 minutes it unfreezes. cmbArrondisement has only 1 item.

Could you explain this problem?


Thanks in advance

2 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 03 Sep 2010, 01:48 PM
Hello Thanassis papaioannou,

Please take a look at  the “Optimizing output, page load time and the overall performance of RadControls for ASP.NET AJAX”  help article.

All the best,
Peter
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Tom
Top achievements
Rank 1
answered on 05 Sep 2010, 04:25 PM
Thank you for your response. It seems that i done something wrong. I wanted to make this thread on the WinForms/ComboBox Section of your forum. Im transfering my above request to the right section.
Tags
ComboBox
Asked by
Tom
Top achievements
Rank 1
Answers by
Peter
Telerik team
Tom
Top achievements
Rank 1
Share this question
or