This is a migrated thread and some comments may be shown as answers.

Navigating within RadScheduleView

1 Answer 34 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Philipp
Top achievements
Rank 1
Philipp asked on 14 May 2014, 04:21 PM
Hi all

I have two different RadScheduleViews, both grouped by a shared collection of resources. A resource represents an employee.

Now, from my group header (for which the data context is the employee resource), I would like to navigate to the same employee on the other RadScheduleView. As far as I can tell, I need an appointment to do so with the RadScheduleView.ScrollIntoView, which I can determine from my resource. However, that means I can't navigate if there are now appointments for the employee yet. How can I accomplish this?

Thanks,
Philipp

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 19 May 2014, 01:11 PM
Hi Philipp,

Actually you could use ScrollIntoView method with a Slot as well instead of Appointment, just make sure that you assign e Resource to this Slot, here is a quick example:

var slotToNavigateTo = new Slot(new DateTime(2014,5,25,8,0,0), new DateTime(2014, 5, 25, 10, 0, 0));
slotToNavigateTo.Resources.Add(new Resource("Speaker 1", "Speaker"));
ScheduleView.ScrollIntoView(slotToNavigateTo);

Hope this helps.

Regards,
Yana
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
ScheduleView
Asked by
Philipp
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or