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

Filtering bug?

4 Answers 88 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jon
Top achievements
Rank 1
Jon asked on 02 Sep 2009, 04:19 PM
Hi,

I have a standard grid and when the EnableLinqExpressions is not set on the grid (ie is True I think) the grid won't find values properly.  Ie say that there are two rows in the grid and in the filtered column there are values of Abb in the first row and Cdd in the second row.  If I enter a as the filter the Abb row isn't found.  If I enter A then the row is found.  When I set EnableLinqExpressions to false the filter works properly.

Is there a case option on the filter when EnableLinqExpressions = True?

I assume that as EnableLinqExpressions is true by default is there some performance benefit to it? 

Regards,

Jon

4 Answers, 1 is accepted

Sort by
0
Casey
Top achievements
Rank 1
answered on 02 Sep 2009, 04:56 PM
Hey Jon,

I'm not sure about the EnableLinqExpressions setting, but it sounds like the filter is case sensitive. If you change the GroupingSettings for CaseSensitive from True to False, the filter will be case insensitive.

Casey
0
Jon
Top achievements
Rank 1
answered on 02 Sep 2009, 05:00 PM
Hi Casey,

Thanks for that - where is the setting?  I can't seem to find it and it's not one I've used before.

Weird that the two modes have different case settings though.

Cheers,

Jon
0
Casey
Top achievements
Rank 1
answered on 02 Sep 2009, 05:07 PM
Jon,

I have the following in my RadGrid definition, between the <telerik:RadGrid></telerik:RadGrid> tags. It should be listed in the properties window under the expandable Grouping Settings option.


<GroupingSettings CaseSensitive="False" /> 

I don't know why they don't have a Filtering Settings area where Case Sensitive can be changed there... which would make more sense than under Grouping Settings.

Casey
0
Jon
Top achievements
Rank 1
answered on 02 Sep 2009, 07:06 PM
Nice one Casey,  that worked perfectly. 

I wonder if anyone at Telerik can explain why that is needed on one filter mode and not the other?

Casey, thanks for your help with this.

Best Regards,

Jon
Tags
Grid
Asked by
Jon
Top achievements
Rank 1
Answers by
Casey
Top achievements
Rank 1
Jon
Top achievements
Rank 1
Share this question
or