Two DatePickers
by krustev
HTML
<link rel="stylesheet" href="http://cdn.kendostatic.com/2011.3.1007/styles/kendo.common.min.css">
<link rel="stylesheet" href="http://cdn.kendostatic.com/2011.3.1007/styles/kendo.kendo.min.css">
<script src="http://cdn.kendostatic.com/2011.3.1007/js/kendo.all.min.js"></script>
<script src="http://cdn.kendostatic.com/2011.3.1007/js/cultures/kendo.culture.fr-FR.js"></script>
<input id="datepickerF" value=""/>
<input id="datepickerT" value=""/>
JavaScript
$("#datepickerF").kendoDatePicker({
// defines the start view
startView: "year",
// defines when the calendar should return date
depth: "year",
// display month and year in the input
format: "MMMM yyyy"
});
$("#datepickerT").kendoDatePicker({
// defines the start view
startView: "year",
// defines when the calendar should return date
depth: "year",
// display month and year in the input
format: "MMMM yyyy"
});