The attached Image shows what happens when I configure my RadScheduler with the following settings:
In my markup I have:
And once I've initiated my data programmatically I have
Note: I've tried it with & without the '+ 1'...It doesn't matter, still doesn't line up.
In my markup I have:
<
TimelineView
TimeLabelSpan
=
"4"
SlotDuration
=
"00:15"
NumberOfSlots
=
"48"
ColumnHeaderDateFormat
=
"HH:mm"
HeaderDateFormat
=
"HH:mm"
GroupingDirection
=
"Vertical"
StartTime
=
"06:00"
/>
And once I've initiated my data programmatically I have
RadScheduler1.WorkDayStartTime = startTime;
RadScheduler1.WorkDayEndTime = endTime;
var duration = RadScheduler1.WorkDayEndTime - RadScheduler1.WorkDayStartTime;
RadScheduler1.TimelineView.StartTime = RadScheduler1.WorkDayStartTime;
RadScheduler1.TimelineView.NumberOfSlots =
duration.Hours * 4 + duration.Minutes / 15 + 1;
Note: I've tried it with & without the '+ 1'...It doesn't matter, still doesn't line up.