Hi,
I am not able to set the start date of the Timeline View to the Current Date. It always defaults to 31 Dec 2010.
The Range is applied correctly. i.e. 1 Year on either side of today.
I did refer to the documentation at - http://www.telerik.com/help/winforms/scheduler-views-timeline-view.html
and have the following in my code:
I am not able to set the start date of the Timeline View to the Current Date. It always defaults to 31 Dec 2010.
The Range is applied correctly. i.e. 1 Year on either side of today.
I did refer to the documentation at - http://www.telerik.com/help/winforms/scheduler-views-timeline-view.html
and have the following in my code:
this.rScheduler.GetTimelineView().StartDate = DateTime.Today;
this.rScheduler.GetTimelineView().RangeStartDate = DateTime.Today.AddYears(-1);
this.rScheduler.GetTimelineView().RangeEndDate = DateTime.Today.AddYears(1);
If I change the first statement to: this.rScheduler.GetTimelineView().StartDate = new DateTime(2010, 11, 20);
this sets the default date on the Timeline View to this date correctly when the TimelineView is shown.
Any date after 31st Dec 2010 sets the Time Line View Start date to 31st Dec 2010.
Thanks,
Lester