Dear Admin,
I have a problem with RulerStartScale and RulerEndScale. I wrote this code in my Form Load to change the WorkTime:
RadScheduler1.GroupType = GroupType.Resource
RadScheduler1.ActiveView.ResourcesPerView = 5
RadScheduler1.GetDayView.WorkTime = New TimeInterval(TimeSpan.FromHours(7), TimeSpan.FromHours(24))
RadScheduler1.GetDayView.RulerStartScale = 7
RadScheduler1.GetDayView.RulerEndScale = 24
RadScheduler1.GetDayView.RulerTimeFormat = RulerTimeFormat.hours24
and I have a RadScheduler (ActiveViewType=Day - DayCount = 1) and a calendar in my form.
and I have an event handler for my calendar:
Private Sub RadCalendar1_SelectionChanged(ByVal sender As Object, ByVal e As System.EventArgs)
RadScheduler1.GetDayView.StartDate = RadCalendar1.SelectedDate
End Sub
When RadScheduler1.GetDayView.StartDate is changed I lost my RulerStartScale and RulerEndScale and WorkTime.
How can I do to solve this issue?
Thank you in advance.
Regards.
Kian