DatePicker/DateTimePicker events not working in AngularJS

2 posts, 0 answers
  1. Chris
    Chris avatar
    30 posts
    Member since:
    Oct 2010

    Posted 28 Jan 2015 Link to this post

    According to this link I should be able to bind to events using AngularJS: http://docs.telerik.com/kendo-ui/AngularJS/introduction

    In the code I have below, the combo-box calls the event as expected but the date-time-picker does not:

    <div ng-controller="OverviewCtrl as oc">
        <select kendo-combo-box id="recentActivityFrequency" ng-model="oc.frequency"
            k-on-change="oc.setCustom(kendoEvent)"
            style="width: 100px;">
            <option value="hourly">Hourly</option>
            <option value="daily">Daily</option>
            <option value="monthly">Monthly</option>
        </select>
     
        <input kendo-date-time-picker k-ng-model="oc.start" ng-show="oc.frequency == 'hourly'"
            k-on-change="oc.setCustom(kendoEvent)"
            k-on-open="oc.setCustom(kendoEvent)" k-on-close="oc.setCustom(kendoEvent)"
            k-format="'MMM d yyyy h tt'" k-interval="60" />
        </div>

  2. Chris
    Chris avatar
    30 posts
    Member since:
    Oct 2010

    Posted 28 Jan 2015 in reply to Chris Link to this post

    Nevermind, turned out to be a browser caching issue.  Feel free to remove this thread - it works fine.
  3. Kendo UI is VS 2017 Ready
Back to Top