Filter Grid

3 replies. Last post: April 2, 2015 1:32 AM by leo Chandra
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
John BoninMember

Having a problem with the Between filter when set programatically.

My code is:

      fltr = New WebGridFilter("OOSDays", ColumnFilterType,Between, "1 and 5")
      WebGrid1.RootTable.FilterColumns.Add(fltr)

The OOSDays columns is set to be System.Single, when I run code no records are returned when 3 should be.  If I look at the filter column in the grid I see "03/27/2015 and 03/27/2015".  For some reason my filter text (1 and 5) got converted to today's date.  If I manually add the filter in the grid than all works fine.  I have used other filters programtically and they all work, its just the BETWEEN that doesn't.

Any ideas?


thanks

john


All times are GMT -5. The time now is 7:17 AM.
Previous Next