Hello,
I have purchased Daypilot about a month ago.
Below is my code in my view using asp.net MVC C#:
@Html.DayPilotCalendar("dpc", new DayPilotCalendarConfig
{
ViewType = DayPilot.Web.Mvc.Enums.Calendar.ViewType.Week,
BackendUrl = Url.Action("mysecretURL"),
TimeRangeSelectedHandling = DayPilot.Web.Mvc.Events.Calendar.TimeRangeSelectedHandlingType.CallBack,
ShowAllDayEvents = false,
BusinessBeginsHour = 9,
BusinessEndsHour = 23,
HeightSpec = HeightSpec.BusinessHours,
EventBubble = "bubble",
EventClickHandling = EventClickHandlingType.Edit,
EventEditHandling = EventEditHandlingType.CallBack,
EventDeleteHandling = EventDeleteHandlingType.CallBack,
ContextMenu = "menu",
HeaderHeight = 40,
AfterRenderJavaScript = "afterRender(data, isCallBack)",
})
My issue is that i when the calender loads i want it to start on the BusinessHour I defined (9AM) it does not work but when i use:
HeightSpec = HeightSpec.BusinessHoursNoScroll
It works but now i cannot scroll to earlier times.
I was using this to help me:
http://doc.daypilot.org/calendar/height/
Please help as this is a time sensitive issue.
Thank you in advanced.