Hi,
I am evaluating your product, and can't figure out how to set the date range for a TimeLineView.
I am trying to display this week and next week, weekdays only, always starting on Monday of this week and ending on Friday of next week. I would also like a break between weeks so that week 1 shows up above week 2.
I am doing this server side in C#:
The below code works but displays a date range from today though to the number of slots specified.
schd.DataSource = datasource;
schd.DataKeyField = "ID";
schd.DataSubjectField = "NumSwaps";
schd.DataStartField = "Roll_Date";
schd.DataEndField = "Roll_Date";
schd.SelectedView = SchedulerViewType.TimelineView;
schd.TimelineView.ColumnHeaderDateFormat = "dddd MM/dd";
schd.TimelineView.NumberOfSlots = 5;
schd.ShowNavigationPane = false;
schd.FirstDayOfWeek = DayOfWeek.Monday;
schd.LastDayOfWeek = DayOfWeek.Friday;
schd.ShowFooter = false;
schd.ShowAllDayRow = false;
schd.ShowHoursColumn = false;
schd.OverflowBehavior = OverflowBehavior.Expand;
schd.DataBind();
<telerik:RadScheduler ID="schd" runat="server" ShowViewTabs="false" ReadOnly="true">
</telerik:RadScheduler>
Screenshot attached, and thanks!
Dawn