Completed
Last Updated: 10 Jul 2013 03:34 by ADMIN
ADMIN
Ivan Petrov
Created on: 10 Jul 2013 03:34
Category: Scheduler/Reminder
Type: Bug Report
0
FIX. RadScheduler - The NavigateToNextResource of the RadSchedulerElement does not work.
Steps to reproduce:
1. Add a scheduler to a form.
2. Add some data and group it by resource.
3. Add a button and on click call the NavigateToNextResource method:
this.radSchedulerDemo.SchedulerElement.NavigateToNextResource();

You will see that nothing happens.

WORKAROUND:

RadScrollBarElement scrollBarElement = this.radScheduler1.SchedulerElement.ViewElement.Children[3] as RadScrollBarElement;
this.radScheduler1.SchedulerElement.NavigateToLastResource();
int numberOfBackSteps = scrollBarElement.Maximum - scrollBarElement.Value - (this.radSchedulerDemo.SchedulerElement.View.ResourcesPerView - 1);

for (int i = 0; i <= numberOfBackSteps; i++)
{
    this.radScheduler1.SchedulerElement.NavigateToPreviousResource();
}
0 comments