This is a migrated thread and some comments may be shown as answers.

MasterTableView.FilterExpression problem

1 Answer 122 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jon
Top achievements
Rank 1
Jon asked on 02 Nov 2011, 11:17 PM
Greetings,

  I am working on a radgrid control in which we do our own paging.  The issue is when a client is using dates in the English Canadian format in a column filter on the grid.  The dates are wrong and we are getting a "The conversion of a char data type to a datetime data type resulted in an out-of-range datetime value."  Debugging the code I see that the filter express in the the MasterTableView.FilterExpression has the incorrect dates in it.  Where do I need to do my date formating to fix this?  Thanks

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 03 Nov 2011, 06:54 AM
Hello Jon,

You can take a look into the following documentation.
Filtering for DateTime Bound Column with DataFormatString Different from mm/dd/yyyy

Thanks,
Princy.
Tags
General Discussions
Asked by
Jon
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or