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

DatePicker with culture updates visually however the actual value doesnt update

2 Answers 87 Views
Date/Time Pickers
This is a migrated thread and some comments may be shown as answers.
Shane P
Top achievements
Rank 1
Shane P asked on 09 Feb 2012, 09:51 AM
I have set my culture to use EN-GB format 

$("#datePicker").kendoDatePicker(
             {
                 change: function () {
                      
                     $("#CampaignModel_RequiredSendDate").val(kendo.toString(this.value(), 'd'));
                 }
             });

I have a change event that updates a hidden field. Visually I can see the calendar selecting the right format however the hidden field is always using the US format.

Do I need to something different to get this to work or is there a bug with the control?

2 Answers, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 10 Feb 2012, 04:24 PM
Hello Shane,

 
Unfortunately I was not able to replicate the problem. Check this jsFiddle demo for reference.

Kind regards,
Georgi Krustev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Shane P
Top achievements
Rank 1
answered on 10 Feb 2012, 10:24 PM
Strange.....I didn't change any code and the picker is working as expected.

Sorry to waste your time
Tags
Date/Time Pickers
Asked by
Shane P
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Shane P
Top achievements
Rank 1
Share this question
or