I'm using latest version Q2 2011 telerik controls. I'm getting an exception on grid ItemDataBound event only on edit command. Initial databound and paging, sorting are good.
In my database both fields are datetime.
StartTime EndTime
2011-09-30 00:00:00.000 2011-09-30 15:34:33.203
In the radGrid
Start Time End Time
9/30/2011 12:00:00 AM 9/30/2011 3:34:33 PM
EditMode
="InPlace"
OnNeedDataSource="grdTime_NeedDataSource" (binding the data on server side using EntityFramework)
<Columns>
<telerik:GridDateTimeColumn DataField="StartTime" HeaderButtonType="TextButton" HeaderText="Start Time" ItemStyle-HorizontalAlign="Left" UniqueName="StartTime" ItemStyle-Width="100px" HeaderStyle-Width="100px" ReadOnly="true" DataType="System.DateTime">
</telerik:GridDateTimeColumn>
<telerik:GridDateTimeColumn DataField="EndTime" HeaderButtonType="TextButton" HeaderText="End Time" ItemStyle-HorizontalAlign="Left" UniqueName="EndTime" ItemStyle-Width="100px" HeaderStyle-Width="100px" PickerType="DateTimePicker" DataType="System.DateTime">
</telerik:GridDateTimeColumn>
</Columns>
Getting the "String was not recognized as a valid DateTime." exception on hitting edit button.
Thanks!