Hello,
I do not see the Show Business hour toggle button or footer in my Scheduler. Even in Kendo demo Basic Scheduler HTML Shows the button but ASP .NET/MVC demo does not. What am i missing. When i am Setting workdaystart and workdayend will it still Show the ShowBusinessHour button?
@(Html.Kendo().Scheduler<MvcDesktop.Models.Scheduler.TaskViewModel>()
.Name("scheduler")
.Date(( DateTime)ViewBag.CurrentDay)
.WorkWeekEnd((int)ViewBag.WorkWeekEnd)
.MinorTickCount(Convert.ToInt32(Session["interval"]))
.WorkDayStart(new DateTime(System.DateTime.Today.Year, System.DateTime.Today.Month,System.DateTime.Today.Day,ViewBag.StartHour, ViewBag.StartMinute, 00))
.WorkDayEnd(new DateTime(System.DateTime.Today.Year, System.DateTime.Today.Month,System.DateTime.Today.Day,ViewBag.EndHour, ViewBag.EndMinute, 00))
.Height(800)
.Views(views =>
{
views.DayView(dayWeekView => dayWeekView.Selected(ViewBag.ShowDay).DateHeaderTemplate("<span class='k-link k-nav-day'>#=kendo.toString(date, 'ddd dd.M.')#</span>")).ShowWorkHours(ViewBag.ShowWorkDay);
views.WorkWeekView(workWeekView => workWeekView.Selected(ViewBag.ShowWorkWeek).DateHeaderTemplate("<span class='k-link k-nav-day'>#=kendo.toString(date, 'ddd dd.M.')#</span>"));
views.WeekView(workWeekView => workWeekView.Selected(ViewBag.ShowWeek).DateHeaderTemplate("<span class='k-link k-nav-day'>#=kendo.toString(date, 'ddd dd.M.')#</span>")).ShowWorkHours(ViewBag.ShowWorkDay);
views.MonthView(workmonthView => workmonthView.Selected(ViewBag.ShowMonth));
})
Thanks
Anmaika