Rad Grid Column Filter text is not clearing dynamically

5 posts, 0 answers
  1. sriramakrishna
    sriramakrishna avatar
    4 posts
    Member since:
    Jun 2009

    Posted 17 Jun 2009 Link to this post

    Hi All,

    I am facing an issue with Rad Grid that, whan i am clearing Rad Grid programmatically, it is not clearing its column filter text. But all the records in Grid are cleared.

    Please have a look into the below url for better idea,
    http://www.telerik.com/account/support-tickets/view-ticket.aspx?threadid=220410

    Can any one help to clear the grid either from client side or from server side?


    Thanks,
    KKB.
  2. Veli
    Admin
    Veli avatar
    2002 posts

    Posted 18 Jun 2009 Link to this post

    Hi sriramakrishna,

    As we have started a conversation on the regular support ticket, I think there is no need to duplicate the conversation on both places.

    Sincerely yours,
    Veli
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Pete
    Pete avatar
    14 posts
    Member since:
    Jun 2010

    Posted 09 Jan 2012 Link to this post

    I see no record of this issue and I'd like to look up its resoution.
    Where can I find this thread?
    thanks.
  5. Veli
    Admin
    Veli avatar
    2002 posts

    Posted 10 Jan 2012 Link to this post

    Hi Pete,

    Here is the recommended approach for clearing all the filters from RadGrid:

    protected void Button1_Click(object sender, EventArgs e)
    {
        foreach(var column in RadGrid1.MasterTableView.RenderColumns)
        {
            column.ResetCurrentFilterValue();
        }
        RadGrid1.MasterTableView.FilterExpression = "";
        RadGrid1.Rebind();
    }

    Veli
    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
  6. karthik
    karthik avatar
    1 posts
    Member since:
    Apr 2015

    Posted 08 Apr 2015 Link to this post

    How to do with jquery? could you please guide me..
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017