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

Filtering Problem?

2 Answers 57 Views
Grid
This is a migrated thread and some comments may be shown as answers.
jalal
Top achievements
Rank 1
jalal asked on 17 Feb 2009, 07:41 AM

Hi,

the Filter did not work until i added EnableLinqExpressions="false" To the Grid?? is it normal or bug? by the way i'm using the latest version of ASPX Ajax Controls...

 


Regards

2 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 17 Feb 2009, 10:02 AM
Hi,

I found the following explanation from the Telerik help document.

http://www.telerik.com/help/aspnet-ajax/grdbasicfiltering.html

"With the .NET 3.5 build of RadGrid for ASP.NET AJAX and LINQ filter expressions enabled (EnableLinqExpressions = true), the filter expressions set for the grid either internally by its filtering mechanism or manually in code should conform to the LINQ expression syntax instead of the old T-SQL syntax. Only thus they will be evaluated properly by the control."

Thanks,
Princy
0
jalal
Top achievements
Rank 1
answered on 17 Feb 2009, 10:23 AM
Thanks a lot,

Is that means i should disable LINQ filter expressions to set the filter expressions internally?? if yes, how i can set the expressions internally for some columns and manually for others, as there is no way to enable/disable LINQ filter expressions in columns tag?

thanks in advance
Tags
Grid
Asked by
jalal
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
jalal
Top achievements
Rank 1
Share this question
or