When the user clicks the arrows on the top left to navigate to the next or previous period, I want to move the calendar a specified number of days. The default behavior is for it to move the number of days that you show. Here's what I came up with which isn't working.
What I'd really like to do is add 7 days to the currently visible start date.
What I'd really like to do is add 7 days to the currently visible start date.
function clientNavigationCommandHandler(sender, eventArgs) { if (eventArgs.get_command() == Telerik.Web.UI.SchedulerNavigationCommand.NavigateToNextPeriod) { var d = new Date(); d.setDate(d.getDate() + 7); sender.set_selectedDate(d); } }