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

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

1 Answer 449 Views
Date/Time Pickers
This is a migrated thread and some comments may be shown as answers.
Padman
Top achievements
Rank 1
Padman asked on 20 Feb 2014, 12:26 PM
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
 

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 24 Feb 2014, 12:51 PM
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!
Tags
Date/Time Pickers
Asked by
Padman
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or