IsEditable - case sensitivity

7 posts, 1 answers
  1. Justin Lee
    Justin Lee avatar
    149 posts
    Member since:
    Dec 2009

    Posted 18 Nov 2010 Link to this post

    I have a simple RadCombobox that is bound to a list of people.  I want to allow them to enter a name that is not in the list, so I have IsEditable=true.

    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
  2. Answer
    George
    Admin
    George avatar
    1332 posts

    Posted 23 Nov 2010 Link to this post

    Hi Justin,

    I would suggest you to use TextSearchMode property of the RadComboBox. For more information, please refer to the following link -



    Sincerely yours,
    George
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
  3. DevCraft banner
  4. bhargava
    bhargava avatar
    14 posts
    Member since:
    Feb 2015

    Posted 17 Jun 2015 Link to this post

    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 

  5. Nasko
    Admin
    Nasko avatar
    586 posts

    Posted 22 Jun 2015 Link to this post

    Hello 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
    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 Feedback Portal and vote to affect the priority of the items
  6. bhargava
    bhargava avatar
    14 posts
    Member since:
    Feb 2015

    Posted 22 Jun 2015 Link to this post

    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 .

     

  7. Nasko
    Admin
    Nasko avatar
    586 posts

    Posted 24 Jun 2015 Link to this post

    Hi Bhargava,

    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
    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 Feedback Portal and vote to affect the priority of the items
  8. bhargava
    bhargava avatar
    14 posts
    Member since:
    Feb 2015

    Posted 25 Jun 2015 Link to this post

    sure 

    Thanks

Back to Top
DevCraft banner