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

Datepicker don't show the selected date

1 Answer 149 Views
Date/Time Pickers
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 30 Sep 2012, 11:25 AM
Hi everyone,

I'm quite new to KendoUI but what I have seen so far is really cool :)

Actually I'm trying to edit a date with a datepicker. When I initialize the datepicker a selected date won't be displayed and I don't know why.
Even if I call the basic datepicker by this:
$("#datum").kendoDatePicker({});
no selected date will be displayed althought dates can be selected.

My original code looks like this:
var value = "12.06.2012";
$("#datepicker").kendoDatePicker({
    culture: "de-DE",
    format: "dd.MM.yyyy",
    value: value
});

When I open the datepicker the correct value (12.06.2012) is selected in the "dropdown", but nothing is show in the datepicker's input... :( Btw: No errors in the Firebug console

Any help is appreciated!

Thanks and cheers,
Chris


// Update: I'm using:
Kendo UI v2012.2.710
jQuery v1.7.1
Firefox 15.0.1
Iron (based on Chrome) 20.0.1150.1
Windows 7



1 Answer, 1 is accepted

Sort by
0
Chris
Top achievements
Rank 1
answered on 09 Oct 2012, 08:47 PM
solved:

I used a div instead of an input element. Perhaps this should be clarifed by the documentation :)
Tags
Date/Time Pickers
Asked by
Chris
Top achievements
Rank 1
Answers by
Chris
Top achievements
Rank 1
Share this question
or