Appointment not Bind to Resource

2 posts, 0 answers
  1. Jay Rick
    Jay Rick avatar
    1 posts
    Member since:
    Aug 2015

    Posted 06 Aug 2015 Link to this post

    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​

  2. Dess | Tech Support Engineer, Sr.
    Dess | Tech Support Engineer, Sr.  avatar
    3321 posts

    Posted 07 Aug 2015 Link to this post

    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.
    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
Back to Top