The issue is with upper/lower case. Example: say the combobox has an item: "john doe" (lower case j), and the user wants to enter "Jane Doe" (with upper case J)
They type an upper case J, and the combobox selects john doe. They continue to type Jane Doe, but the 'j' is lower case since it previously predicted john doe. There is no way for them to enter Jane Doe with a capital J. (besides pasting it in)
Is there anything I can do to fix this?
Thanks,
Justin
6 Answers, 1 is accepted
I would suggest you to use TextSearchMode property of the RadComboBox. For more information, please refer to the following link -
- http://www.telerik.com/help/silverlight/radcombobox-features-filtering.html
- http://www.telerik.com/community/forums/silverlight/combobox/radcombobox-and-case-sensitive-text-search.aspx
George
the Telerik team
Hi George,
I have same scenario for my combo box too.
In my case,I have name for example: John in combo box. When I type john it doesn't give John.
how can I make the search case insensitive . When I search for J/j I want to see John in the list.
I have gone into those links you have posted. If we can have
http://www.telerik.com/forums/griddropdowncolumn-case-insensitive-selectedvalue
Is there anything i can do .
Thanks,
Bhargava
By design RadComboBox is not case sensitive, so when you type 'j' or 'J' in both cases "John" should be filtered. What George proposed was to use either the ContainsCaseSentive or the StartsWithCaseSensitive modes of the TextSeachMode property in order to make RadComboBox case sensitive. So, could you please provide us some more detailed information about the exact version of the controls you are currently using and the observed behavior of RadComboBox when you type capital and small letters? Sending us a Xaml of your RadComboBox declaration will also be of great help for our further investigation.
We are looking forward to hearing from you.
Regards,
Nasko
Telerik
Hi Nasko,
This is the XAML. I am using 2014.2.729 version.
<telerik:RadComboBox x:Name="ddlLocation" Grid.Row="3" Grid.Column="2" Grid.ColumnSpan="3" Margin="5,5,15,10"
ItemsSource="{Binding Path=Resources}" DisplayMemberPath="Name" SelectedValuePath="Id"
SelectedValue="{Binding Path=SelectedResourceId, Mode=TwoWay}"
IsEditable="True" Text="{Binding Path=Location, Mode=TwoWay}"
Utilities:EditableComboBox.MaxLength="255" IsEnabled="{Binding Path=CanUserUpdate}"/>
This is my issue.
I have added 'TextSearchMode="StartsWithCaseSensitive" ' recently , before that this was the issue.
Lets say in my combo box i have text saved as 'all day' . When I try to type in the combo box , with capital A (caps lock on)it doesn't take that into effect. It shows the all day as a suggestion( which is in lower case) and I can't type All Day. I am only able to type lower letter till i reach the end of all day Tomorrow .
With the Q1 2015 release version of RadComboBox we presented a brand new FilteringBehavior ​functionality that provides the possibility to customize the logic behind the provided out of the box Filtering mechanism. Using it you will be able to achieve the desired behavior of RadComboBox and filter the items as needed both when you are entering capital or small letters. So, we suggest you to upgrade to our latest official released version in order to get all latest features provided by Telerik controls. More detailed information about the custom FilteringBehavior of RadComboBox you could find on the following link:
http://docs.telerik.com/devtools/silverlight/controls/radcombobox/features/filteringbehavior.html
Hopes the provided information will help you.
Regards,
Nasko
Telerik
sure
Thanks