I am trying to get the timeline view to be limited to the "day hours". I only want it to display one day (I have disabled the navigation pane), and only the regular working hours. I am trying to replicate the "compare schedules" feature in Outlook. Another option would be if the timeline view would by default be scrolled to the start of the day.
I have tried to set the DayStartTime and WorkDayStartTime both on the tag and through code in Page Load. It always just shows 12:00AM-11:30PM.
How can I get this done? Here is the code I am using:
RadScheduler1.SelectedView = SchedulerViewType.TimelineView |
RadScheduler1.TimelineView.SlotDuration = New TimeSpan(0, 30, 0) |
RadScheduler1.TimelineView.NumberOfSlots = 48 |
RadScheduler1.TimelineView.GroupingDirection = GroupingDirection.Vertical |
RadScheduler1.ShowViewTabs = False |
RadScheduler1.ShowNavigationPane = False |
RadScheduler1.ReadOnly = True |
RadScheduler1.OverflowBehavior = OverflowBehavior.Expand |
RadScheduler1.ColumnWidth = 80 |
RadScheduler1.DayStartTime = New TimeSpan(8, 0, 0) |
RadScheduler1.DayEndTime = New TimeSpan(18, 0, 0) |
RadScheduler1.WorkDayStartTime = New TimeSpan(8, 0, 0) |
RadScheduler1.WorkDayEndTime = New TimeSpan(18, 0, 0) |
RadScheduler1.TimelineView.ColumnHeaderDateFormat = "h:mm" |
Thanks for your help.