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

How to toggle resources to view

1 Answer 81 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
Jordan
Top achievements
Rank 1
Jordan asked on 24 Mar 2013, 08:42 PM
Hello,

I only want one given resource to be viewed at any point on the scheduler. I have multiple resources, but I cannot seem to find out how to toggle which resource should be viewed. It just shows the first resource I added to the collection, and then at runtime I can't see a way to toggle between those resources:



Also, I forgot to dereference a radscheduler from a navigator, and now I am unable to add a new radschedulenavigator from the toolbox as many exceptions will be thrown:

1 Answer, 1 is accepted

Sort by
0
Julian Benkov
Telerik team
answered on 27 Mar 2013, 02:44 PM
Hi Jordan,

More information on how to work with Resources in RadScheduler you can find in the following documentation articles: Working with Resources and Setting Appointment and Resource relations. I have tested the navigator control and I did not find any issues with attaching a scheduler. Here is a sample code how to add navigator control at run-time:
public partial class SchedulerSortAppointmentsForm : Form
{
    private RadScheduler scheduler = new RadScheduler();
 
    public SchedulerSortAppointmentsForm()
    {
        InitializeComponent();
 
        scheduler.Dock = DockStyle.Fill;
        scheduler.Parent = this;
        scheduler.AllowAppointmentMove = true;
 
        scheduler.ShowNavigationElements = true;
        RadSchedulerNavigator navigator = new RadSchedulerNavigator();
        navigator.Parent = this;
        navigator.AssociatedScheduler = this.scheduler;
        navigator.Dock = DockStyle.Top;
        navigator.BringToFront();
 
    }
}

I hope this helps.

All the best,
Julian Benkov
the Telerik team
WinForms Q1 2013 boasts PivotGrid, PDF Viewer, Chart enhancements and more. Check out all of the latest highlights.
Tags
Scheduler and Reminder
Asked by
Jordan
Top achievements
Rank 1
Answers by
Julian Benkov
Telerik team
Share this question
or