RadComboBox selects first item on Textchanged

3 posts, 1 answers
  1. Nivid
    Nivid  avatar
    14 posts
    Member since:
    Jun 2012

    Posted 08 May 2013 Link to this post

    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. Answer
    Vladi
    Admin
    Vladi avatar
    744 posts

    Posted 09 May 2013 Link to this post

    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.

  3. UI for WPF is Visual Studio 2017 Ready
  4. Nivid
    Nivid  avatar
    14 posts
    Member since:
    Jun 2012

    Posted 09 May 2013 Link to this post

    thanks Vladi, That works for me will test more and find anything let you now.
Back to Top