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

Rad Grid Column Filter text is not clearing dynamically

4 Answers 139 Views
Grid
This is a migrated thread and some comments may be shown as answers.
sriramakrishna
Top achievements
Rank 1
sriramakrishna asked on 17 Jun 2009, 01:06 PM
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.

4 Answers, 1 is accepted

Sort by
0
Veli
Telerik team
answered on 18 Jun 2009, 02:01 PM
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.
0
Pete
Top achievements
Rank 1
answered on 09 Jan 2012, 07:56 PM
I see no record of this issue and I'd like to look up its resoution.
Where can I find this thread?
thanks.
0
Veli
Telerik team
answered on 10 Jan 2012, 11:18 AM
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
0
karthik
Top achievements
Rank 1
answered on 08 Apr 2015, 11:19 AM
How to do with jquery? could you please guide me..
Tags
Grid
Asked by
sriramakrishna
Top achievements
Rank 1
Answers by
Veli
Telerik team
Pete
Top achievements
Rank 1
karthik
Top achievements
Rank 1
Share this question
or