Clear filter programmatically

5 posts, 0 answers
  1. Ryan Morgan
    Ryan Morgan avatar
    26 posts
    Member since:
    Dec 2006

    Posted 09 Oct 2009 Link to this post

    Is the the way to clear filtrer programmatically which were set manually using column filtering drop downs?

  2. Vlad
    Vlad avatar
    11100 posts

    Posted 09 Oct 2009 Link to this post

    Hi Ryan,

    You can do this using Clear() method of FilterDescriptors property.

    Sincerely yours,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. Sharon
    Sharon avatar
    1 posts
    Member since:
    Dec 2011

    Posted 15 Jan 2012 Link to this post

    You can use this one:

    MyGridView.FilterDescriptors[0].Value = null;

  4. Mohd
    Mohd avatar
    19 posts
    Member since:
    Aug 2011

    Posted 16 Jan 2012 Link to this post

    I am waiting for a reply from a long time
  5. Aaron
    Aaron avatar
    17 posts
    Member since:
    Jan 2011

    Posted 11 Sep 2013 Link to this post

    That doesn't clear out all filters.  If I do that it stops filtering the actual grid, but all of the distinct value checkboxes are still checked, and all of the text boxes still have text.
Back to Top