I have a data grid column that bound to a nested property PackageData.id
. When I trying to filter that column I'm getting Filter as ((np(PackageData.id)) == null ? "" : (np(PackageData.id))).ToLower().Contains("999".ToLower())
.
By applying this term to Where
clause I'm trying to filter the data set. then I'm getting LINQ evaluation exception. but when I try without np, ((PackageData.id) == null ? "" : (PackageData.id)).ToLower().Contains("999".ToLower())
its working correctly. what could be the wrong?