or
<select id="Id1" kendo-drop-down-list k-change="change" k-data-bound="prjDataBound" k-data-text-field="'Value'" k-data-value-field="'id'" k-data-source="somesource" > /select>1.$scope.change = function (e)2.{3. $scope.mpr = this.dataItem();4. var cfLevel = $("#cfLevelId").data("kendoDropDownList");5. cfLevel.value($scope.mpr.SomeValue);6. $scope.$apply();7.};$('.fx-modal-ajax').livequery(function() { $(this) .removeClass('fx-modal-ajax') .click(function(e) { e.preventDefault(); var modalTitle = $(this).attr('data-modal-title'); var modalUrl = $(this).attr('data-modal-url'); var modalWidth = $(this).attr('data-modal-width'); $('<div></div>') .kendoWindow({ width: modalWidth, title: modalTitle, content: modalUrl, modal: true }) .data("kendoWindow") .center() .open(); }); });<a class="fx-modal-ajax" data-modal-width="750px" data-modal-url="'index.php?_c=productaccountrefill&_a=ajaxquickrefill" data-modal-title="Add credit to your account" href="#">Add credit</a>$("#scheduler").kendoScheduler({ date: new Date("2014-07-17"), dataSource: { batch: true, // Enable batch updates transport: { read: { url: "/appointments/get", dataType: "json", type: "POST", contentType: "application/x-www-form-urlencoded", }, create: { url: "/appointments/create", dataType: "json", type: "POST", contentType: "application/x-www-form-urlencoded", }, update: { url: "/appointments/uodate", dataType: "json", type: "POST", contentType: "application/x-www-form-urlencoded", }, destroy: { url: "/appointments/create", dataType: "json", type: "POST", contentType: "application/x-www-form-urlencoded", }, parameterMap: function (options, operation) { if (operation === "read") { // make sure we send the start and end date to the server in unix time, and urlencode them var scheduler = $("#scheduler").data("kendoScheduler"); var startDate = DateToUnixTime(scheduler.view().startDate()); var endDate = DateToUnixTime(scheduler.view().endDate()); // if start and end are the same, bump end by 24 hours if (endDate === startDate) { endDate += gPageConstants.kSecondsIn24h; } var result = {start_time:startDate, end_time:endDate}; return $.param(result); } else if (operation === "create") { console.log(options); } else { return $.param(options); } } }, schema: { model: { id: "uid", // The "id" of the event is the "taskId" field fields: { // Describe the scheduler event fields and map them to the fields returned by the remote service taskId: { from: "uid", // The 'TaskID' server-side field is mapped to the 'taskId' client-side field type: "number" }, start: { type: "date", from: "start" }, end: { type: "date", from: "end" }, title: { from: "notes", defaultValue: "No title", validation: { required: true } }, description: { from: "Description", defaultValue: "No description" }, recurrenceId: { from: "RecurrenceID", defaultValue: null }, recurrenceRule: { from: "RecurrenceRule", defaultValue: null }, recurrenceException: { from: "RecurrenceException", defaultValue: null }, isAllDay: { type: "boolean", from: "IsAllDay", defaultValue: false } } } } } });