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

RadComboBox selects first item on Textchanged

2 Answers 213 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Nivid
Top achievements
Rank 2
Nivid asked on 08 May 2013, 10:05 PM

I have a radcombobox which is TextSearchEnabled and Editable. The issue is whenever there is a textchanged it automatically selects the first item that is matched and that actually filters out the other dropdown which i wanted to restrict it.

Is there anyway i can restrict this behavior and only update the selected item on lost focus

<telerik:RadComboBox x:Name="ComboBox"
                          ItemsSource="{Binding Users}" 
                          SelectAllTextEvent="GotFocus"
                          IsTextSearchEnabled="True"
                          IsEditable="True"
                          telerik:TextSearch.TextPath="FullName"
                          IsFilteringEnabled="True"
                          SelectedItem="{Binding SelectedUser}"
                          TextSearchMode="Contains"
                          MinWidth="80"
                          DisplayMemberPath="FullName"/>

2 Answers, 1 is accepted

Sort by
0
Accepted
Vladi
Telerik team
answered on 09 May 2013, 03:32 PM
Hello,

In order to disable the auto selection of items in the RadComboBox control all you need to do is set its CanAutocompleteSelectItems property to False.

Note that this will cause the item to not be selected if you do not select it with the mouse. Hope this is helpful.

Regards,
Vladi
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Nivid
Top achievements
Rank 2
answered on 09 May 2013, 04:44 PM
thanks Vladi, That works for me will test more and find anything let you now.
Tags
ComboBox
Asked by
Nivid
Top achievements
Rank 2
Answers by
Vladi
Telerik team
Nivid
Top achievements
Rank 2
Share this question
or