I want to implement custom filtering in my radGrid, but I don't get it to work right now. What I'm trying to do is the following:
I have radGrid and the datasource of the grid is an objectdatasource. In the selecting event of the objectdatasource i add my filterexpression and sortexpression. In the function in my businesslogics, i have the filterexpression, sortexpression, startindex and maximumrows. The filterexpression is coming to the function properly, but i can't get it to work with my entitymodel. I've tried enableLinqExpression="True" and enableLinqExpression="False" but with both options it doesn't work.This is the code of the function:
KolipeEntities db =
data = db.vw_TrainingCompanyLocations.Where(filterExpression);
data = db.vw_TrainingCompanyLocations;
Do you have any idea how to get this to work?