I’m controlling scheduler with external calendar.
I have 3 kendocalendar with instance SchedulerCalendar,SchedulerCalendar1 and SchedulerCalendar2
[code] $(“#SchedulerCalendar”).kendoCalendar({
change: function (e) {
var calendar = $("#SchedulerCalendar").data("kendoCalendar");
calendar.bind("change", function (e) {
var date = calendar.value();
var newdate = new Date(date);
var year = newdate.getFullYear();
var month = newdate.getMonth().toString();
var date = newdate.getDate().toString();
//a,date,year1 are input from SchedulerCalendar to next two calendars.
var date1 = a + '/' + date + '/' + year1;
var date2 = b + '/' + date + '/' + year2;
var calendar1 = $("#SchedulerCalendar1").data("kendoCalendar");
var calendar2 = $("#SchedulerCalendar2").data("kendoCalendar");
var fullcalender1= calendar1.value(date1);
var fullcalender2= calendar2.value(date2);
SetSchedulerView(newdate);
});
}
})[/code]
I have scheduler working with SchedulerCalendar .But how control scheduler with other two instance of kendocalendar.