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

AutoComplete but not auto select?

2 Answers 110 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Travis
Top achievements
Rank 1
Travis asked on 22 Sep 2010, 01:30 AM
I'm used to using the .NET rad combobox in web forms which might be why I'm confused by the silverlight version.  I would like my combox to have autocomplete functionality, but to NOT select the first match.  I think in the web forms version there was a property called "markFirstMatch" which I could set to false.  The problem is that I have RIA domainsources which are binding to the selected item in the rad combobox and when a user types the first letter it finds the first match and then automatically updates the RIA domainsource.  I don't really want that to happen until the user has definitively selected an item in the combobox.  Is there a way to do this in the silverlight rad combobox?

2 Answers, 1 is accepted

Sort by
0
Valeri Hristov
Telerik team
answered on 22 Sep 2010, 08:36 AM
Hi Travis,

You could try with setting CanAutocompleteSelectItems=false - however, this will require you to press enter when you want to select the highlighted item. In a similar way you could prevent the Up/Down arrows from selecting items by setting CanKeyboardNavigationSelectItems = false.

Sincerely yours,
Valeri Hristov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Travis
Top achievements
Rank 1
answered on 22 Sep 2010, 03:47 PM
Thank you.  That works great!!
Tags
ComboBox
Asked by
Travis
Top achievements
Rank 1
Answers by
Valeri Hristov
Telerik team
Travis
Top achievements
Rank 1
Share this question
or