Thanks Veselin for reply.
We are using KendoScheduler control and Calendar widget is the part of that control.
Here is the code...
myScheduler.SchedulerControl = $('#schedulerdemo').data("kendoScheduler");
var schedDateLink = $('ul.k-scheduler-navigation').find('.k-nav-current');
disabled = [27];
schedDateLink.on('click', function () {
setTimeout(function () {
var schedCalendar = $('.k-scheduler-calendar.k-widget.k-calendar').data('kendoCalendar');
schedCalendar.setOptions({
min: new Date(minDate),//06/25/2018
max: new Date(maxDate),//06/28/2018
disableDates: function (date) {
if (date && disabled.indexOf(date.getDate()) > -1) {
return true;
} else {
return false;
}
},
// change: myScheduler.onChange,
});
}, 100);
});
I see two problem here regards to Prev/Next links.
1) Disabled dates are accessible on Prev/Next buttons.
2) I have specified range for scheduler control & Calendar widget with following properties.
StartTime -EndTime for scheduler control (06/25/2018-06/28/2018)
Min-Max for Calendar widget (06/25/2018-06/28/2018)
But I can still access all the Dates prior to 06/25 and future dates after 06/28 dates on Prev/Next buttons .