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

How to clear all filter expressions?

1 Answer 54 Views
Filter
This is a migrated thread and some comments may be shown as answers.
Jin
Top achievements
Rank 1
Jin asked on 05 Sep 2012, 01:53 PM
How to clear all filter expressions and back to initial status by a button event?

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 07 Sep 2012, 11:26 AM
Hello Jin,

Could you please try the following approach and let me know about the result?
protected void Button2_Click(object sender, EventArgs e)
{
    RadFilter1.RootGroup.Expressions.Clear();
    RadFilter1.FireApplyCommand();
}

I hope this will prove helpful.

Greetings,
Eyup
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Filter
Asked by
Jin
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or