We are using Kendo 2012.3..1315.340. Here is the issue. We are using the EditorTemplate for DateTime?, which calls DatePickerFor. This works wonderfully in a standard cshtml view and the POST contains the name/value TransactionDate = "03/19/2013". However, if I use the same view model in a grid and use either inline editing or popup editing I get a POST with TransactionDate = "
Tue Mar 19 2013 00:00:00 GMT-0700 (Pacific Daylight Time)". This value does not automatically populate the view model on submission and the date property on the model defaults to DateTime.MinValue. Since this is an identical view model with and identical editor template, does anyone have any ideas on why the POST values are different (and seemingly improperly formatted from the grid)?
|