I have integration radscheduler and radganttview.
Load data
Dim ds as new DataSource
Dim dvAppointments As New DataView
Dim appointmentMappingInfo As New AppointmentMappingInfo()
Dim SchedSource As New SchedulerBindingDataSource()
appointmentMappingInfo.Mappings.Add(New SchedulerMapping("Kontrahent", "pln_kntakronim"))
appointmentMappingInfo.Start = "pln_start"
appointmentMappingInfo.End = "pln_stop"
appointmentMappingInfo.Location = "pln_nr"
appointmentMappingInfo.ResourceId = "pln_zamgidnumer"
appointmentMappingInfo.Description = "pln_opis"
appointmentMappingInfo.Resources = ""
appointmentMappingInfo.Location = "pln_nrzam"
appointmentMappingInfo.Summary = "pln_twrkod"
appointmentMappingInfo.StatusId = "pln_status"
dvAppointments.Table = ds.Tables("PlanowanieTamborow")
SchedSource.EventProvider.Mapping = appointmentMappingInfo
bsPlanowanie.DataSource = dvAppointments 'BindingSource
SchedSource.EventProvider.DataSource = bsPlanowanie
RadScheduler1.DataSource = SchedSource
RadGanttView1.DataProvider = New GanttViewIntegrationProvider(RadScheduler1)
refresh data
Dim reader As System.Data.SqlClient.SqlDataReader = comm.ExecuteReader
ds.Tables("PlanowanieTamborow").Clear()
ds.Tables("PlanowanieTamborow").Load(reader)
ds.Tables("PlanowanieTamborow").AcceptChanges()
ds.Tables("PlanowanieTamborow")
If I refresh the Radscheduler then RadGanttView doesn't refresh
Radscheduleris working properly