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

Still having problems with filtering

1 Answer 55 Views
Grid
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 17 Nov 2010, 02:36 PM
OK folks. I copied code directly from the tutorial and modified it slightly.

protected void FilterException()
{
    string filterExpression;
    filterExpression = "([ExceptionType] = '" + DDLException.SelectedValue + "')";
    RadGrid1.MasterTableView.FilterExpression = filterExpression;
    RadGrid1.MasterTableView.Rebind();
}

on rebind it fails saying expression expected. filterExpression looks correct from what I can determine. Can someone please help me here? What am I doing wrong?

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 17 Nov 2010, 03:00 PM
Hello David,

Try to set RadGrid EnableLinqExpressions property to false and let me know if it helps to eliminate the error.

All the best,
Pavlina
the Telerik team
Browse the vast support resources we have to jumpstart 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.
Tags
Grid
Asked by
David
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or