Thanks for writing and for your question.
First, I would like to apologize for the delay with my answer due to a couple of national holidays here.
Back on your question.
I guess using the KeyDown
event of the RadComboBox
control and deselecting the input of the user upon clicking on the Backspace
key would do the job. Take a look at the code snippet below:
| private void OnRadComboBox_KeyDOwn(object sender, KeyEventArgs e)
| if (e.KeyData == Keys.Back)
| this.radComboBox1.Select(0, 0);
Basically, this code will deselect any selected text in the RadComboBox
control when you click the Backspace
key and thus will prevent you from deleting this text. In the case of the SuggestAppend mode, this will leave a valid input in the RadComboBox control as you require.
I hope this is helpful.
You can write back anytime you need further assistance though.
All the best,
the Telerik team