Filter anomaly

2 posts, 0 answers
  1. Scott
    Scott avatar
    9 posts
    Member since:
    Aug 2012

    Posted 02 Apr 2010 Link to this post

    Hello, I have a radgrid (v2009.3.1314.35) that is being bound by NeedDataSource to an NHibernate object.  It has column sorting turned on and that works fine.  I am trying to get the filtering working but I'm having a problem.  The columns that have int and decimal data types are filtering fine, but the ones with dates and strings are not.  When my code hits the NeedDataSource method the string column I am trying to filter seems to recognize the CurrentFilterValue and CurrentFilterType as what I typed in and selected in the grid.  After selecting the filter my loading panel fires but the grid remains unchanged. 

    Does anyone have any ideas as to what could cause this?  I assume it is very close since it works with int and decimals, but I can't figure this out.  If I have to I guess I can go to using the ItemCommand event and manually filter, but I would rather not.  Oh, speaking of that I do have an ItemCommand event for my delete buttons, but there is nothing in it about filtering right now. 

    Thanks in advance for your help with this.
  2. Scott
    Scott avatar
    9 posts
    Member since:
    Aug 2012

    Posted 02 Apr 2010 Link to this post

    Nevermind.  Turns out I had to turn the EnableLinqExpressions to false.  Now it filters fine.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top