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

Init filter

2 Answers 96 Views
Filter
This is a migrated thread and some comments may be shown as answers.
dimrud
Top achievements
Rank 1
dimrud asked on 12 Jan 2011, 06:05 PM
Hello,
How can I reset/ init / clear filter in code behind or client
See attached image

Regards
 

2 Answers, 1 is accepted

Sort by
0
Vasil
Telerik team
answered on 14 Jan 2011, 04:03 PM
Hello dimrud,

In the code-behind you can use:
yourRadFilter.RootGroup.Expressions.Clear();


Greetings,
Vasil
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
dimrud
Top achievements
Rank 1
answered on 14 Jan 2011, 04:41 PM
Vasil ,
It worked, thank you !

P.S.: To really re-load the object I used
yourRadFilter.RootGroup.Expressions.Clear();
yourRadFilter.RecreateControl();
Tags
Filter
Asked by
dimrud
Top achievements
Rank 1
Answers by
Vasil
Telerik team
dimrud
Top achievements
Rank 1
Share this question
or