Filtering - case insensitive?

11 posts, 1 answers
  1. Ian Coetzer
    Ian Coetzer avatar
    65 posts
    Member since:
    Sep 2004

    Posted 11 Sep 2008 Link to this post

    Hi

    I'm using the filtering option for the first time on one of my columns in my rad grid. But I notice that when I type some text it is case sensitive when doing the search.

    For example if some of the strings in the column contain the word Africa, I have to search for Africa I cannot search for africa.

    Is there a way to turn off the case sensitivity??

    thanks
  2. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 11 Sep 2008 Link to this post

    Hello Ian,

    How the grid is bound in your case? NeedDataSource or DataSourceID?  Please provide more info.

    Best wishes,
    Vlad
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Ian Coetzer
    Ian Coetzer avatar
    65 posts
    Member since:
    Sep 2004

    Posted 11 Sep 2008 Link to this post

    I'm using the NeedDataSource event to retrieve the data array as and when required.

    Thanks
  5. Answer
    Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 12 Sep 2008 Link to this post

    Hi Ian,

    Please set RadGrid1.GroupingSettings.CaseSensitive to false and let me know about the result.

    Regards,
    Vlad
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  6. Greg
    Greg avatar
    3 posts
    Member since:
    Sep 2008

    Posted 26 Sep 2008 Link to this post

    There is no effect - filtering remains case sensitive. The collection I assign to the data source is a List of objects.
  7. Nikolay Rusev
    Admin
    Nikolay Rusev avatar
    2285 posts

    Posted 29 Sep 2008 Link to this post

    Hello Greg,

    Please try setting EnableLinqExpressions to false if you are using 3.5 as target platform. This should resolve the issue. 

    Kind regards,
    Nikolay
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  8. Michael Nagy
    Michael Nagy avatar
    18 posts
    Member since:
    May 2008

    Posted 06 Feb 2009 Link to this post

    hello ,
    i have the same question and tired all recommended solutions but all of them did not make different .
    I'm using the NeedDataSource and using .Net 3.5
  9. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 06 Feb 2009 Link to this post

    Hello Michael,

    Can you please verify that you are using the latest release 2008.3.1314 of RadControls for ASP.NET AJAX in your project when applying the suggested solutions? This should be sufficient to address the issue in question.

    Best regards,
    Sebastian
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  10. Michael Nagy
    Michael Nagy avatar
    18 posts
    Member since:
    May 2008

    Posted 06 Feb 2009 Link to this post

    I am using Telerik.Web.UI 2008.2.723.35
  11. Fernando
    Fernando avatar
    3 posts
    Member since:
    Apr 2011

    Posted 24 Sep 2015 Link to this post

    Hello, in my case I have trouble with accents words eg : Peru (ú) ... any suggestions?
  12. Eyup
    Admin
    Eyup avatar
    3015 posts

    Posted 29 Sep 2015 Link to this post

    Hi Fernando,

    Generally, this requirement is not supported. Nevertheless, you can use the ItemCommand event handler provided by RadGrid to change the letters in the filter value:
    http://docs.telerik.com/devtools/aspnet-ajax/controls/grid/functionality/filtering/how-to/operate-with-the-filterexpression-manually

    Hope this helps.

    Regards,
    Eyup
    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
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017