I've followed every example I can find and I must be missing something.
When I group, I see scheduler shows the resources in the columns, but there are no appointments. I notice that "ConvertResourceToDataSource" and "ConvertResourceToScheduler" never fire.
This is my code to group by the "LocationID" field:
When I group, I see scheduler shows the resources in the columns, but there are no appointments. I notice that "ConvertResourceToDataSource" and "ConvertResourceToScheduler" never fire.
This is my code to group by the "LocationID" field:
Private Sub ButtonGroupLocation_Click(sender As System.Object, e As System.EventArgs) Handles ButtonGroupLocation.Click Grouped = True Dim AppointmentMapping As New AppointmentMappingInfo() Dim ResourceMapping As New ResourceMappingInfo() AppointmentMapping.Start = "Start" AppointmentMapping.End = "Stop" AppointmentMapping.Duration = "" AppointmentMapping.Summary = "Summary" AppointmentMapping.Description = "" AppointmentMapping.Location = "LocationID" AppointmentMapping.Visible = "" AppointmentMapping.AllDay = "" AppointmentMapping.AllowDelete = "" AppointmentMapping.AllowEdit = "" AppointmentMapping.UniqueId = "ID" AppointmentMapping.BackgroundId = "BackgroundID" AppointmentMapping.StatusId = "StatusID" AppointmentMapping.RecurrenceRule = "RecurrenceRule" AppointmentMapping.MasterEventId = "" AppointmentMapping.ResourceId = "LocationID" AppointmentMapping.RecurrenceId = "" AppointmentMapping.Resources = "" AppointmentMapping.Exceptions = "" AppointmentMapping.FindBySchedulerProperty("ResourceId").ConvertToDataSource = AddressOf ConvertResourceToDataSource AppointmentMapping.FindBySchedulerProperty("ResourceId").ConvertToScheduler = AddressOf ConvertResourceToScheduler ResourceMapping.Name = "Name" ResourceMapping.Id = "ID" SchedulerBindingDataSource1.ResourceProvider.Mapping = ResourceMapping SchedulerBindingDataSource1.ResourceProvider.DataSource = ExecuSuitePMSDataSet.ActLocations SchedulerBindingDataSource1.EventProvider.Mapping = AppointmentMapping SchedulerBindingDataSource1.EventProvider.DataSource = ExecuSuitePMSDataSet.ActActivitySchedule RadScheduler1.DataSource = Me.SchedulerBindingDataSource1 RadScheduler1.GroupType = GroupType.Resource RadScheduler1.ActiveView.ResourcesPerView = 10 End Sub