Kendo DatePicker not working with diffrent culture in MVC controller side.

2 posts, 0 answers
  1. Padman
    Padman avatar
    19 posts
    Member since:
    Nov 2010

    Posted 20 Feb 2014 Link to this post

    Hello, Telerik Team 

    I am working on Kendo DatePicker control in MVC 4.0, and we have to culture in the application. 1) en-US and 2) ar-SA.

        It is working fine for en-US but when I set culture as ar-SA, DatePicker change date as per culture in UI it is fine for me while in MVC controller side Model's Date-time property giving same date as UI.  for e.g  01/Feb/2014 is display as 01/04/35(dd/MM/yy) in ar-SA. 
    Now , I  won't to save only en-US date like 01/Feb/2014 in database side.
       One more issue(for ar-SA) in UI date format "dd/MMMM/yyyy" is not able to post the form action, I have also checked        $("form").kendoValidator().data().kendoValidator.validate() it is true. 

    please provide your suggestion as soon as possible, it is argent for us. 

    Thanks
    Padman
     
  2. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 24 Feb 2014 Link to this post

    Hello,

    Perhaps the culture isn't properly set. Could you please confirm that you have followed the steps from our documentation?

    Regards,
    Atanas Korchev
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Kendo UI is VS 2017 Ready
Back to Top