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

Multiple Resources and TimeLine Grouping

1 Answer 108 Views
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
Dave asked on 26 Jan 2009, 05:12 PM
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:
  • AppointmentId(Key)
  • Subject
  • StartDateTime
  • EndDateTime
  • RecurrenceRule
  • RecurrenceParentId


  •  AppointmentId(Key)
  • ContactId(Key)


  • 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">  
            <telerik:ResourceType KeyField="AppointmentId" Name="ContactId" TextField="ContactId" 
                ForeignKeyField="AppointmentId" DataSourceID="AppointmentContactsDataSource" 
                AllowMultipleValues="true" /> 
        <TimelineView UserSelectable="true" GroupBy="ContactId" GroupingDirection="Vertical" 
            NumberOfSlots="5" /> 

1 Answer, 1 is accepted

Sort by
Telerik team
answered on 28 Jan 2009, 09:52 AM
Hello Dave,

This is unusual. I modified the Database Scheduler Provider trying to replicate the problem you reported but to no avail. Here is what I tested:
<telerik:RadScheduler runat="server" ID="RadScheduler1" SelectedView="TimelineView" 
            Width="750px"  TimeZoneOffset="00:00:00" 
            SelectedDate="2007-08-02" DayStartTime="08:00:00" DayEndTime="18:00:00" 
            ProviderName="ReadOnlySchedulerData" ReadOnly="false" RowHeight="50px"
                <asp:Label runat="server" ID="RecurrenceIcon" /> 
                <%# Eval("Subject") %> 
                <br /> 
                <asp:Label runat="server" ID="Teacher" /> 
                <br /> 
                <asp:Label runat="server" ID="Students" /> 
            <TimelineView GroupBy="Student" GroupingDirection="vertical" /> 

And the result is as in the attached screenshot.

Probably you are aware of this, but I just want to rule it out as a possible cause of the problem: Only custom providers can provide the support to allow multi-valued resources (resources that can have multiple values assigned to a single appointment). Are you using a custom provider? Here is the help topic for reference:Implementing A Provider That Supports Multi-valued Resources

the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Asked by
Top achievements
Rank 1
Answers by
Telerik team
Share this question