Hi,
I'm trying to update RadSheduler header text to show daily work hours. I'm implementing this from RadScheduler_ActiveViewChanged method, but the text is not changing unless I change active view. How can I resolve this issue?
Thanks for help
Karoon
private void radScheduler1_ActiveViewChanged(object sender,
SchedulerViewChangedEventArgs e)
{
toolWindow2.Text = e.NewView.ViewType.ToString();
if (e.NewView is SchedulerDayViewBase)
{
SchedulerDayViewBase dayViewBase = (SchedulerDayViewBase)e.NewView;
dayViewBase.Scheduler.HeaderFormat = "ddd MMM dd";
UpdateRadSchedulerHeader(dayViewBase);
}
}
I'm using the following line in UpdateRadSchedulerHeader method to update text:
((SchedulerHeaderCellElement)dayViewBase.Scheduler.ViewElement.Children[0].Children[j]).Text
+= "(Time
00:00:00)";