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

Change Text in Editable Mode

1 Answer 68 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Ahmad
Top achievements
Rank 1
Ahmad asked on 07 May 2017, 01:58 PM
Hi,
I Have a ComboBox and I set IsEditable to True.
the ComboBox have Following Items:
Alex
Bernard

in loaded Event I set ComboBocx.Text to "A"
it makes SelectedItem will be Alex
but I don't want change SelectedItem.
there is a solution for that?

1 Answer, 1 is accepted

Sort by
0
Accepted
Stefan Nenchev
Telerik team
answered on 10 May 2017, 10:56 AM
Hi Ahmad,

You can consider using a RadAutoCompleteBox instead and create a HighlightBehavior which will always return -1 as an index to be highlighted, this way no item will be highlighted. 

Regards,
Stefan Nenchev
Telerik by Progress
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which you to write beautiful native mobile apps using a single shared C# codebase.
Tags
ComboBox
Asked by
Ahmad
Top achievements
Rank 1
Answers by
Stefan Nenchev
Telerik team
Share this question
or