open

Opens the calendar or the time drop-down list.

Parameters

view String

The view of the DateTimePicker, expressed as a string. Available views are "time" and "date".

Example - open the calendar popup

<input id="datetimepicker" />
<button id="open">Open</button>
<script>
$("#datetimepicker").kendoDateTimePicker();

var datetimepicker = $("#datetimepicker").data("kendoDateTimePicker");

$("#open").click(function() {
    datetimepicker.open("date");
});
</script>

Example - open the time popup

<input id="datetimepicker" />
<button id="open">Open</button>
<script>
$("#datetimepicker").kendoDateTimePicker();

var datetimepicker = $("#datetimepicker").data("kendoDateTimePicker");

$("#open").click(function() {
    datetimepicker.open("time");
});
</script>
In this article