Filtering RadGrid Date column using option 'Contains'

2 posts, 0 answers
  1. Kanchana
    Kanchana avatar
    6 posts
    Member since:
    Nov 2011

    Posted 08 Feb 2012 Link to this post

    Hi,

    I have a radgrid with filtering by column set to true and all columns have 'Show Filter Icon' set to false. One of the gridbound columns is of data type Datetime and the dates are displayed in the format  29 Jan (DataFormatString="{0:dd MMM}"). Is it possible to filter this column using 'contains' functionality ie when the user types 29 or Jan and press enter, it should filter all records with the date 29 or all records with a date in Jan?

    If such custom filtering is possible, will it still work with filters on other columns?

    Thanks.

  2. Pavlina
    Admin
    Pavlina avatar
    6187 posts

    Posted 13 Feb 2012 Link to this post

    Hello,

    You can use the "Custom" filter function to introduce a filter function that is not included in the default list, or to allow multiple columns with the same data type to have different filtering menus. I suggest that you review the following article for more information:
    http://www.telerik.com/help/aspnet-ajax/grid-custom-option-for-filtering.html

    Regards,
    Pavlina
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Back to Top