Kendo DatePicker bug in popup editor

2 posts, 0 answers
  1. Menashay
    Menashay avatar
    8 posts
    Member since:
    Jul 2012

    Posted 19 Jan 2014 Link to this post

    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
  2. Daniel
    Admin
    Daniel avatar
    2117 posts

    Posted 22 Jan 2014 Link to this post

    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!
  3. UI for ASP.NET MVC is VS 2017 Ready
Back to Top