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

Case-insensitive server-side filtering with dynamic linq.

1 Answer 306 Views
Grid
This is a migrated thread and some comments may be shown as answers.
GreenSlate
Top achievements
Rank 1
GreenSlate asked on 18 May 2015, 11:10 PM

We're using server-side filtering, signal R, Kendo.DynamicLinq ToDataSourceResult, etc.

It applies the grid filters to the IEnumerable brilliantly, except the string comparisons are all case-sensitive. We need these string filters to be case insensitive.

I've uploaded a screenshot of the relevant area of the server-side code. Please advise!

Thanks,

Andrew

 

1 Answer, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 20 May 2015, 03:08 PM

Hello Andrew,

I would like to clarify that Kendo.DynamicLinq is rather a community effort than official product. Given this it is not supported out of the box. 

However I reviewed the Kendo.DynamicLinq code and I would suggest modifying the Filter.cs class in order to use ToLower() when comparing the string values and build it. 

Regards,
Boyan Dimitrov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
GreenSlate
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Share this question
or