Show Business Hour button missing in footer

2 posts, 0 answers
  1. Anamika
    Anamika avatar
    157 posts
    Member since:
    Mar 2014

    Posted 20 Jun 2017 Link to this post

    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

  2. Anamika
    Anamika avatar
    157 posts
    Member since:
    Mar 2014

    Posted 20 Jun 2017 in reply to Anamika Link to this post

    Please ignore the post Setting footer to true started showing

    .Footer(true)

Back to Top