RadComboBox and case sensitive text search

12 posts, 0 answers
  1. Miłosz Cechnicki
    Miłosz Cechnicki avatar
    34 posts
    Member since:
    Sep 2009

    Posted 16 Mar 2010 Link to this post

    Hi,
    is it possible, to force the RadComboBox to search values with case sensitive mode?
    In our scenario 'titel' and 'TITEL' and 'Titel' are totally different values.

    The RadComboBox definition looks like:

    <telerikInput:RadComboBox x:Name="ctrlParameterValue" Margin="8,0,8,8" IsEditable="True" IsTextSearchEnabled="True" TextSearchMode="StartsWith" Style="{StaticResource AplusCRadComboBoxStyle}" /> 


    Thank you for your help.
  2. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 16 Mar 2010 Link to this post

    Hello Miłosz,

    RadComboBox does not support case sensitive search yet, but this looks like an "easy" feature, that could be implemented soon. I will do my best to provide it for the incoming internal build this Friday.

    Kind regards,
    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. GVera
    GVera avatar
    10 posts
    Member since:
    Nov 2008

    Posted 07 Jul 2010 Link to this post

    has this feature been added to RadComboBox WPF ?
  5. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 08 Jul 2010 Link to this post

    Hi Gabriel,

    Yes, the latest service pack has this feature. To use it you should set TextSearchMode=StartsWithCaseSensitive or ContainsCaseSensitive.

    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
  6. Corey
    Corey avatar
    2 posts
    Member since:
    Jul 2010

    Posted 05 Oct 2011 Link to this post

    I know this is an old thread but I would like to request that this feature be added to the ASP.NET AJAX controls both server and client side.
  7. Simon
    Admin
    Simon avatar
    2281 posts

    Posted 10 Oct 2011 Link to this post

    Hello Corey,

    Could you please be a bit more specific - which function do you suggest to be case-sensitive: marking the first match, filter, or both?

    Kind regards,
    Simon
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  8. Corey
    Corey avatar
    2 posts
    Member since:
    Jul 2010

    Posted 10 Oct 2011 Link to this post

    What I'd like is for radComboBox.findItemByText to be optionally case insensitive.  Here's what I built to handle this:

    function findComboItemByText(combo, text, caseInsensitive)
    {
        if (combo && combo.get_items)
        {
            if (!caseInsensitive)
            {
                return combo.findItemByText($.trim(text));
            }
            else
            {
                var items = combo.get_items();
     
                var searchText = $.trim(text.toLowerCase());
                for (var i = 0; i < items.get_count(); i++)
                {
                    var item = items.getItem(i);
     
                    if ($.trim(item.get_text().toLowerCase()) == searchText)
                        return item;
                }
     
                // no item found
                return null;
            }
        }
    }

    Similar functionality could also be useful on the server side.

    In our scenario, we present the user a list of items to choose from and the ability to add another item if what they want is not in the list.  If they add a new item, we try to match it to an existing value.  If a match is found, we select that match otherwise we add a new item to the list and select it.
  9. Simon
    Admin
    Simon avatar
    2281 posts

    Posted 11 Oct 2011 Link to this post

    Hello Corey,

    Thank you for the clarification.

    I logged this into our backlog, so future versions of RadComboBox for ASP.NET AJAX will have the feature.

    I also updated your Telerik points for the suggestion.

    Greetings,
    Simon
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  10. SlimSjakie
    SlimSjakie avatar
    10 posts
    Member since:
    Apr 2010

    Posted 31 Jan 2013 Link to this post

    Has this functionality "CaseInsensitive Search" been implemented yet?
  11. Kalina
    Admin
    Kalina avatar
    918 posts

    Posted 05 Feb 2013 Link to this post

    Hello SlimmeSjakie,

    I am afraid that this issue is not addressed yet.
    Please accept our apologies for any inconvenience this may have caused you.

    Regards,
    Kalina
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  12. Jerry
    Jerry avatar
    1 posts
    Member since:
    Dec 2012

    Posted 30 Jan 2014 in reply to Kalina Link to this post

    I just added a RadComboBox to my asp.net winform.  It has MarkFirstMatch="true",  Filter="StartsWith" and 
    IsCaseSensitive="False".  It is not case sensitive for most letters (15 in the out list of items), but others require that I enter a capital letter (A, E, L, S).  Any suggestions?
  13. Nencho
    Admin
    Nencho avatar
    1458 posts

    Posted 04 Feb 2014 Link to this post

    Hello Jerry,

    Could you specify which version of our controls are you currently using?

    Regards,
    Nencho
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the UI for ASP.NET AJAX, subscribe to the blog feed now.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017