This is a migrated thread and some comments may be shown as answers.

Clear filter programmatically

4 Answers 129 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Ryan Morgan
Top achievements
Rank 1
Ryan Morgan asked on 09 Oct 2009, 10:12 AM
Is the the way to clear filtrer programmatically which were set manually using column filtering drop downs?

Ryan

4 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 09 Oct 2009, 11:36 AM
Hi Ryan,

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

Sincerely yours,
Vlad
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.
0
Sharon
Top achievements
Rank 1
answered on 15 Jan 2012, 06:38 PM
Hi
You can use this one:

MyGridView.FilterDescriptors[0].Value = null;
Sharon

0
Mohd
Top achievements
Rank 1
answered on 16 Jan 2012, 06:38 AM
I am waiting for a reply from a long time


http://www.telerik.com/community/forums/silverlight/gridview/radgrid-export-to-excel-unable-to-maintain-decimal-format-for-number-less-than-4-digits.aspx
0
Aaron
Top achievements
Rank 1
answered on 11 Sep 2013, 08:17 PM
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.
Tags
GridView
Asked by
Ryan Morgan
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Sharon
Top achievements
Rank 1
Mohd
Top achievements
Rank 1
Aaron
Top achievements
Rank 1
Share this question
or