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

Appointment not Bind to Resource

1 Answer 52 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
Jay Rick
Top achievements
Rank 1
Jay Rick asked on 06 Aug 2015, 11:12 PM

The appointment not showed when  RadScheduler1.GroupType = GroupType.Resource

 

           dt = ObjDS.Tables(0)
            dt2 = ObjDS2.Tables(0)

            appointmentMappingInfo.Start = "StartTime"
            appointmentMappingInfo.End = "EndTime"
            appointmentMappingInfo.Summary = "TaskDetails"
          
            resourceMappingInfo.Id = "StaffID"
            resourceMappingInfo.Name = "StaffFullName"

            

            SchedSource.EventProvider.Mapping = appointmentMappingInfo
            SchedSource.EventProvider.DataSource = dt
            SchedSource.ResourceProvider.Mapping = resourceMappingInfo
            SchedSource.ResourceProvider.DataSource = dt2
          

            RadScheduler1.DataSource = SchedSource
            RadScheduler1.GroupType = GroupType.Resource​

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 07 Aug 2015, 12:20 PM
Hello Jay,

Thank you for writing.

It seems that there is a missing relation between appointments and resources. Please refer to the Data Binding Walkthrough and Using DataSource property help articles which are quite useful about scheduler data binding with resources.

I hope this information helps. Should you have further questions I would be glad to help.
 
Regards,
Dess
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Scheduler and Reminder
Asked by
Jay Rick
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or