I am binding data to a RadGrid via the radclientdatasource, itself via a web api giving a JSON response, the grid binds fine and I get all the columns I need. The issue is with the date columns appearing as 2012-03-01T00:00:00 despite having the following configured
<
telerik:GridDateTimeColumn
FilterControlWidth
=
"95px"
DataField
=
"PlannedDate"
UniqueName
=
"PlannedDate"
HeaderText
=
"Planned Date"
PickerType
=
"DatePicker"
EnableRangeFiltering
=
"true"
DataFormatString
=
"{0:yyyy-MM-dd}"
DataType
=
"System.DateTime"
FilterDateFormat
=
"{0:yyyy-MM-dd}"
MinDate
=
"2012-01-01"
SortedBackColor
=
"#CCCCCC"
HtmlEncode
=
"false"
EditDataFormatString
=
"{0:yyyy-MM-dd}"
>
</
telerik:GridDateTimeColumn
>
Have also tried GridBoundColumn. My JSON is coming through as "PlannedDate":"2012-03-01T00:00:00"
In addition to the display issue the column is not respecting less than / greater than date filters which makes me suspect it it just being treated as text. Any thoughts please ?