This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hi, I've been trying to get Telerik's MVC Grid to work 100% with LightSpeed. My main issue is the filtering. Through much effort and debugging, I've narrowed down the exact problem in the hopes that you can provide a quick fix. Their grid creates this kind of expression (specifically the where expression):
var result = from c in UnitOfWork.Contents result = result.Where(item => ((item.Title ?? "").ToLower().Contains("intel".ToLower()) == true)); This results in the following error:
Any chance you could enable LightSpeed's LINQ provider to support this kind of expression? It would go a long way to adding compatibility with Telerik's fantastic FREE MVC tools... John |
|
|
Even more specifically, it is this part (item.Title ?? "") That is breaking it. I can modify Telerik's MVC source as a workaround, but I'd rather avoid that.
|
|
|
I've committed a fix and it will be included in nightly builds dated 2 Feb 2010 and above, available from about 1500 GMT. Note this will not work for the code shown if you are using DB2 or SQL Server Compact Edition -- let us know in this case, or if you still see problems. |
|