or
jQuery("#workcalendar").kendoScheduler({ date: new Date(), // The current date of the scheduler selectable: true, snap: false, views: [ { type: "month", }, { type: "day" }, { type: "week" } , { type: "agenda" } ] , dataSource: { batch: true, transport: { read: { url: "KPIGetData/DimData.aspx?SearchInput=schedulerevent", dataType: "json", data: {"SearchValue":CurrentUserID,"StartTime":SearchTimeStart,"EndTime":SearchTimeEnd} } } , schema: { model: { id: "taskId", fields: { taskId: { type: "number", from: "TaskID"}, title: { from: "Title"}, start: { type: "date", from: "Start" }, end: { type: "date", from: "End" }, description: { from: "TaskScript" }, recurrenceId: { from: "RecurrenceID" }, recurrenceRule: { from: "RecurrenceRule" }, recurrenceException: {from:"RecurrenceException"}, ownerId: {from: "OwnerID", defaultValue: 1}, isAllDay: {type: "boolean",from:"IsAllDay"} } } }, error: function(e) { alert(e.errors); } } });