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

Kendo DatePicker bug in popup editor

1 Answer 246 Views
Date/Time Pickers
This is a migrated thread and some comments may be shown as answers.
Menashay
Top achievements
Rank 1
Menashay asked on 20 Jan 2014, 02:29 AM
The Kendo DatePicker has a bug it seems when you place it in a popup editor.  
This widget does not bind to a DateTime model property when you place it in a popup editor.
In the attached sample project I changed the culture in the web.config to 'auto' which on my workstation is set to 'en-AU.'
In this sample the 'PostedOn' property is a nullable DateTime though it makes no difference to this bug.
Adding ParseFormats strings makes no difference either.

This project is a modified sample that you have provided previously (see URL: http://www.kendoui.com/forums/kendo-ui-web/date-time-pickers/datetimepicker-format-doesn-t-work-with-initial-default-value.aspx)
As you can see from the attached screenshot kendo datepicker reports on erroneous date even though it is a valid date.
Outside the popup editor, this same datepicker works perfectly good.
Any workaround?

Regards,
Menashay

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 22 Jan 2014, 09:02 AM
Hello Menashay,

You should use the same culture on the server and on the client in order for the date be recognized as valid. Please check this documentation topic for more detailed information on this matter.

Regards,
Daniel
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Date/Time Pickers
Asked by
Menashay
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or