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

[Solved] Error passing date value from view to controller in 2014.3.1119

1 Answer 120 Views
Grid
This is a migrated thread and some comments may be shown as answers.
YOVANYS
Top achievements
Rank 1
YOVANYS asked on 06 Feb 2015, 06:15 PM
In version 2014.3.1119 of Kendo UI I have a problem passing date value from view to controller, the  value passed to controller is {01/01/0001 12:00:00 a.m.}, however with the previous (2013.3.1119) version works as expected.

this my code inside parameterMap

for (var member in KPIDataEntry) {
          if (member == "Date") {
               result["KPIDataEntry[" + i + "]." + member] = kendo.toString(new Date(KPIDataEntry[member]), "G");
          }
          else {
              result["KPIDataEntry[" + i + "]." + member] = KPIDataEntry[member];
         }
}

thanks in advanced, and sorry about my english

1 Answer, 1 is accepted

Sort by
0
Vladimir Iliev
Telerik team
answered on 10 Feb 2015, 03:12 PM
Hello,

I tried to reproduce the problem locally but to no avail – everything is working as expected on our side with both the v.2013.3.1119 and v.2014.3.1314. Could you please provide runable example where the issue is reproduced? This would help us pinpoint the exact reason for this behavior.

Regards,
Vladimir Iliev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
YOVANYS
Top achievements
Rank 1
Answers by
Vladimir Iliev
Telerik team
Share this question
or