Last Updated: 06 Oct 2020 14:24 by ADMIN
Created on: 07 Aug 2020 21:05
Category: Date/Time Pickers
Type: Bug Report
DatePicker issue when kendo namespace is set

I was able to duplicate an issue I found when we upgraded to the latest Kendo UI for jQuery release. The DatePicker is not working correctly when the kendo namespace, kendo.ns, is set. I was able to duplicate it using the MVVM demo example for DatePicker. The month is no longer displayed and clicking on the Month to zoom out in time stops working as well. I have not checked what other functionality is not working. I do know the parsing is working properly as well as formatting.

<!DOCTYPE html>
    <base href="">
    <style>html { font-size: 14px; font-family: Arial, Helvetica, sans-serif; }</style>
    <link rel="stylesheet" href="" />
    <link rel="stylesheet" href="" />
    <link rel="stylesheet" href="" />

    <script src=""></script>
    <script src=""></script>

    <link rel="stylesheet" href="../content/shared/styles/examples-offline.css">
    <script src="../content/shared/js/console.js"></script>
  // set the kendo namespace so not to collide with other libraries
  kendo.ns = "kendo-";
<div id="example">
    <div class="demo-section k-content">
            <h4>Choose a date</h4>
            <input data-kendo-role="datepicker"
                   data-kendo-bind="visible: isVisible,
                              enabled: isEnabled,
                              value: selectedDate,
                              events: { change: onChange }"
                   style="width: 100%">
        <div style="padding-top: 2em;">
            <div class="console"></div>
    <div class="box">
        <div class="box-col">
                <label><input type="checkbox" data-bind="checked: isEnabled">Enable</label>
                <label><input type="checkbox" data-bind="checked: isVisible">Visible</label>
        <div class="box-col">
            Kendo UI DatePicker supports the
            <a href="">enabled</a>,
            <a href="">events</a>,
            <a href="">value</a> and
            <a href="">visible</a> bindings.
    var viewModel = kendo.observable({
        selectedDate: null,
        isEnabled: true,
        isVisible: true,
        onChange: function() {
            kendoConsole.log("event :: change (" + kendo.toString(this.get("selectedDate"), "D") + ")");
    kendo.bind($("#example"), viewModel);

1 comment
Alex Hajigeorgieva
Posted on: 10 Aug 2020 13:02

Hi, Ralph,

Thank you very much for reporting this behaviour to us.

It seems to be a side effect of the new modern rendering of the DatePickers we introduced in 2020 R2. I have converted this thread to a public feedback item which will allow it to be discoverable and updated your Telerik points as a token of appreciation for helping us improve.

If you prefer to subscribe to GitHub, this feedback item is synced with this issue:

Please accept our apology for the inconvenience.

Kind Regards,
Alex Hajigeorgieva
Progress Telerik