I am trying to create a scheduler page that in TimeLineView will list the Resources Vertically and the Hours of the Day across the top to determine availablity for meetings. I can get this to work until I try to implement multiple resources per appointment. When I do that only the first resource shows the appointment that has multiple resources. I would like each resource to display the same appointment in the time line view.
Here are my table definitions:
Appointments
Here are my table definitions:
Appointments
- AppointmentId(Key)
- Subject
- StartDateTime
- EndDateTime
- RecurrenceRule
- RecurrenceParentId
AppointmentContacts
- AppointmentId(Key)
- ContactId(Key)
Contacts
- ContactId(Key)
- ContactName
Here is the scheduler definition
<telerik:RadScheduler ID="dataScheduler" CustomAttributeNames="Description" OnAppointmentCreated="Scheduler_AppointmentCreated" |
DataSourceID="AppointmentsDataSource" runat="server" DataKeyField="AppointmentId" |
DataSubjectField="Subject" DataStartField="StartDateTime" DataEndField="EndDateTime" |
DataRecurrenceField="RecurrenceRule" DataRecurrenceParentKeyField="RecurrenceParentId" |
OnAppointmentDataBound="dataScheduler_AppointmentDataBound" OnAppointmentDelete="dataScheduler_AppointmentDelete" |
OnAppointmentInsert="dataScheduler_AppointmentInsert" OnAppointmentUpdate="dataScheduler_AppointmentUpdate" |
OnDataBinding="dataScheduler_DataBinding" OnDataBound="dataScheduler_DataBound" |
OnRecurrenceExceptionCreated="dataScheduler_RecurrenceExceptionCreated" StartEditingInAdvancedForm="true"> |
<ResourceTypes> |
<telerik:ResourceType KeyField="AppointmentId" Name="ContactId" TextField="ContactId" |
ForeignKeyField="AppointmentId" DataSourceID="AppointmentContactsDataSource" |
AllowMultipleValues="true" /> |
</ResourceTypes> |
<TimelineView UserSelectable="true" GroupBy="ContactId" GroupingDirection="Vertical" |
NumberOfSlots="5" /> |
</telerik:RadScheduler> |