Have you been frustrated trying to save and restore RADGrid filter expressions easily?
Are you trying to programmatically set the RADGrid Filter?
By default, the RADGrid is set for LINQ syntax. If you'd like to use MS SQL Server syntax, then simply add the following attribute to the RADGrid control:
<telerik:RadGrid Id='grdTest' EnableLinqExpressions='false'> </telerik:RadGrid>
With LINQ expressions turned off, you can set the RadGrid filter expression as follows:
grdTest.MasterTableView.FilterExpression = "[CustomerName] = 'Test Customer'"
You can also obtain the RadGrid filter expression as follows:
Dim strFilterExpression = grdTest.MasterTableView.FilterExpression()
RadEditor - please enable JavaScript to use the rich text editor.