This is a migrated thread and some comments may be shown as answers.

Show Business Hour button missing in footer

1 Answer 124 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Anamika
Top achievements
Rank 1
Anamika asked on 20 Jun 2017, 01:12 PM

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

1 Answer, 1 is accepted

Sort by
0
Anamika
Top achievements
Rank 1
answered on 20 Jun 2017, 01:56 PM

Please ignore the post Setting footer to true started showing

.Footer(true)

Tags
Scheduler
Asked by
Anamika
Top achievements
Rank 1
Answers by
Anamika
Top achievements
Rank 1
Share this question
or