Search In RadGrid

4 posts, 0 answers
  1. manish
    manish avatar
    5 posts
    Member since:
    Jan 2009

    Posted 11 Feb 2010 Link to this post

    Hi

    Special character creating problem while searching in grid.
    Sample file is attached.

    In RemoteIDNumber search box I put    977 and searched with contains its giving me the right records, its OK.
    but what i want is
    when i give 97715 it should give me two records like -977-15 and 9771559 (first two record in attached file)
    but its giving only 9771559. I have to ignore the special characters.

    How can i do this type of serach by ignoring special characters? 

    Regards
    Manish sain
  2. robertw102
    robertw102 avatar
    265 posts
    Member since:
    Jul 2007

    Posted 11 Feb 2010 Link to this post

    I believe this help article should be of use to you:


    It looks like you'll need to create your own custom filter and add it to the list.

    I hope that helps.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. maria mazilu
    maria mazilu avatar
    5 posts
    Member since:
    Aug 2009

    Posted 11 Feb 2010 Link to this post

    I'm having the same problem. I want to filter by ignoring some special characters like â,ă,ţ,ş,î and replacing them with a,t,s,i, respectively. I thought at regular expressions. But I don't know how to do this to obtain the desired results. To be more specific: if in the filter textbox I type "strada" in the items of the corresponding column of the grid there should be records the contain also "stradă".

    Thank you and best wishes!
  5. maria mazilu
    maria mazilu avatar
    5 posts
    Member since:
    Aug 2009

    Posted 15 Feb 2010 Link to this post

    I might suggest trying to replace the "-" with ""(nothing) similarly to what I did in my case. Se the thread I've opened
    http://www.telerik.com/community/forums/aspnet-ajax/grid/filter-by-a-regular-expresion.aspx and the solution I've thought to be the one for me. I think you could use it also.

    Good luck


Back to Top