Hi,
while reviewing one of your online example : http://demos.telerik.com/silverlight/#DomainDataSource/RadDataFilterIntegration
I found that the Match case feature didn't seems to work.
The DataFilter seems to do his job and translate properly as follow
Examples.Web.Customer[].Where(item => item.ContactName.Contains("ANN")).Take(10)
Examples.Web.Customer[].Where(item => item.ContactName.ToLower().Contains("ANN".ToLower())).Take(10)
the domain data source returned in both case 5 entries (3 of them are wrong).
Just thought I will share what might be a bug.
Regards
Jean-Marc
while reviewing one of your online example : http://demos.telerik.com/silverlight/#DomainDataSource/RadDataFilterIntegration
I found that the Match case feature didn't seems to work.
The DataFilter seems to do his job and translate properly as follow
Examples.Web.Customer[].Where(item => item.ContactName.Contains("ANN")).Take(10)
Examples.Web.Customer[].Where(item => item.ContactName.ToLower().Contains("ANN".ToLower())).Take(10)
the domain data source returned in both case 5 entries (3 of them are wrong).
Just thought I will share what might be a bug.
Regards
Jean-Marc
7 Answers, 1 is accepted
0
Hello jean-Marc,
Unfortunately, the LINQ to Entities query provider will always "send" a case-insensitive "Where" to SQL Server.
Kind regards,
Ross
the Telerik team
Unfortunately, the LINQ to Entities query provider will always "send" a case-insensitive "Where" to SQL Server.
Kind regards,
Ross
the Telerik team
0
jean-Marc
Top achievements
Rank 1
answered on 08 Mar 2011, 08:04 AM
shouldn't that option be hidden then? It's confusing otherwise.
Regards
JM
Regards
JM
0
Hello,
Vlad
the Telerik team
Unfortunately we cannot detect the query provider behind the service to hide this conditionally.
All the best,Vlad
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
jean-Marc
Top achievements
Rank 1
answered on 08 Mar 2011, 09:00 AM
OK thanks Vlad. I guess it's up to the developer to define then if the type of collation use case sensitive or insensitive. Between is there an option to hide this option if the developer knows this won't work? Or should he just redefine the template?
0
Hi jean-Marc,
You can attach to the FieldFilterEditorCreated event of the grid. The event arguments will contain the instance of the field filter editor being created, in this case a StringFilterEditor. You can find the check-box with the ChildrenOfType<T> method and set its Visibility to false, if you know that it will not work.
Let me know if there are problems with this approach.
Best wishes,
Ross
the Telerik team
You can attach to the FieldFilterEditorCreated event of the grid. The event arguments will contain the instance of the field filter editor being created, in this case a StringFilterEditor. You can find the check-box with the ChildrenOfType<T> method and set its Visibility to false, if you know that it will not work.
Let me know if there are problems with this approach.
Best wishes,
Ross
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Bryan Hill
Top achievements
Rank 1
answered on 20 Apr 2011, 06:09 PM
I cannot seem to find the event FieldFilterEditorCreated off the RadGridView. Did it change? Am I missing a reference?
0
Hi Bryan Hill,
Ross
the Telerik team
You are probably using an older version. Can you try with the latest one?
Regards,Ross
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items