Hi
I have two comboBoxes.
When one is selected I want to clear the content of the other.
It happens that sometimes it clears the content of the two combos.
If I use the Microsoft ComboBox default, it works well.
I have the next code in the project:
I used binaries of April, but the problem persists..
I have two comboBoxes.
When one is selected I want to clear the content of the other.
It happens that sometimes it clears the content of the two combos.
If I use the Microsoft ComboBox default, it works well.
I have the next code in the project:
private void Combo_SelectionChanged(object sender, Telerik.Windows.Controls.SelectionChangedEventArgs e) |
{ |
RadComboBox item = (RadComboBox)sender; |
if (item.SelectedIndex >= 0) |
{ |
if (item.Name == "ComboUsuario_CmB") |
{ |
this.ComboGrupo_CmB.SelectedIndex = -1; |
} |
if (item.Name == "ComboGrupo_CmB") |
{ |
this.ComboUsuario_CmB.SelectedIndex = -1; |
} |
} |
} |