Hi Jorge Delgado-Lopez,
Currently,
RadComboBox does not support the
SelectedIndexChanging event. It will be implemented for one of our future releases. For the time being, I can suggest two workarounds:
- Use the TextChanging event of RadComboBox.ComboBoxElement to cancel the selection. However, you will not be able write in the textbox portion of the control and therefore to use the AutoCompleteMode.
- Keep the old selected index of RadComboBox and then set it back in the SelectedIndexChanged event handler. In addition, you should know whether the initial firing of the SelectedIndexChanged event (on Form loading) or this event is fired by the user. I have attached a sample project to demonstrate this.
I hope this helps. If you have additional questions, do not hesitate to contact me.
Sincerely yours,
Nikolay
the Telerik team