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:
By the time that the program reaches
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