How to clear all filter expressions?

2 posts, 0 answers
  1. Jin
    Jin avatar
    80 posts
    Member since:
    Jun 2012

    Posted 05 Sep 2012 Link to this post

    How to clear all filter expressions and back to initial status by a button event?
  2. Eyup
    Admin
    Eyup avatar
    3005 posts

    Posted 07 Sep 2012 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top