Hi there!
I´m using some MVC-actions to retrieve my data. The dates within my objects are serialized like that:
MyDate:/Date(1325372400000)/
Setting the value to a DatePicker works fine if the value/number is > 0. (a date after 1.1.1970...).
If the number is < 0 it does not work.
But
new Date(-50000)
works also fine (and results in xx.xx.1969).
That´s how I set the value using javascript:
_jquery.data('kendoDatePicker').value(_value);
I found a different thread having problems with the value. It was solved by changing the min value. But that has no effect.
Is it officially supported using the .net-formatted-date-json as value?
Or is there a bug?
What could be the problem?
My environment:
- kendoUI-version: 2013.1.319.340
- Windows7
- IE10
- jQuery 1.9.1
Best Regards!
I´m using some MVC-actions to retrieve my data. The dates within my objects are serialized like that:
MyDate:/Date(1325372400000)/
Setting the value to a DatePicker works fine if the value/number is > 0. (a date after 1.1.1970...).
If the number is < 0 it does not work.
But
new Date(-50000)
works also fine (and results in xx.xx.1969).
That´s how I set the value using javascript:
_jquery.data('kendoDatePicker').value(_value);
I found a different thread having problems with the value. It was solved by changing the min value. But that has no effect.
Is it officially supported using the .net-formatted-date-json as value?
Or is there a bug?
What could be the problem?
My environment:
- kendoUI-version: 2013.1.319.340
- Windows7
- IE10
- jQuery 1.9.1
Best Regards!