This is a migrated thread and some comments may be shown as answers.
Multiple Staff resources for a single Appointment object?
4 Answers 56 Views
This is a migrated thread and some comments may be shown as answers.
Mike Baldini
Top achievements
Rank 1
Mike Baldini asked on 21 Dec 2010, 09:15 PM
In our system, you are able to associate multiple staff members to a single Appointment object. 

How would we accomplish showing this on the scheduler? From the looks of it, the scheduler requires a 1 to 1 relation between the staff and the appointment.

Here is a rough example of our structure... Link

4 Answers, 1 is accepted

Sort by
0
Richard Slade
Top achievements
Rank 2
answered on 22 Dec 2010, 03:27 PM
Hello Mike,

Please take a look at this documentation whcih covers one-to-many and many-to-many relations
Hope that helps
Richard
0
Dobry Zranchev
Telerik team
answered on 27 Dec 2010, 03:25 PM
Hello Mike Baldini,

Thank you for writing.

We already support such functionality in RadScheduler. You can find the available documentation here also you can look at the following example in our demo application Scheduler - Data Binding. In this example is demonstrated how to bind multiple resources to the appointment. In addition we do not provide a way to represent multiple resources in our EditAppointmentDialog and you should replace the control that represents these resources. Please check this help article for more information.

If you have other questions, feel free to contact me.

Kind regards,
Dobry Zranchev
the Telerik team
Check out the Q1 2011 Roadmap for Telerik Controls for Windows Forms.
0
Eric Moreau
Top achievements
Rank 2
answered on 12 May 2011, 04:25 PM
Am I blind or is it that the examples are not showing how to assign mulitple resources to a single appointment? The combo doesn't let you pick multiple resources.

Do you have a full sample somewhere in which you have a checklistbox or any other control that let the user pick any number of resources and persist them?
0
Stefan
Telerik team
answered on 18 May 2011, 08:01 AM
Hi Eric,

Thank you for writing.

Such functionality can be achieved by creating a custom EditAppointmentDialog. The following  KB article demonstrates this approach. I hope it helps.

Feel free to ask if you have any further questions.

Regards,
Stefan
the Telerik team
Q1’11 SP1 of RadControls for WinForms is available for download; also available is the Q2'11 Roadmap for Telerik Windows Forms controls.
Asked by
Mike Baldini
Top achievements
Rank 1
Answers by
Richard Slade
Top achievements
Rank 2
Dobry Zranchev
Telerik team
Eric Moreau
Top achievements
Rank 2
Stefan
Telerik team
Share this question
or