Hello,
I use Radscheduler and datas are loaded from a dataset that directly calls an Oracle database through the Oracle Client and it works well.
I need to replace this loading by a webservice call.
The first loading is ok and I have my appointments and all my other data but when I move an appointment, the change is not reflected in the datatable so I can not intercept these changes.
I use DataRowVersion.Original to get the previous version of the appointment but that does not work when datas are loaded from the webservice.
When data is loaded from the dataset methods it works correctly.
Everything works by loading the data using the methods of the dataset :
1.
Me
.ResourcesTableAdapter.CustomFill(...)
2.
Me
.AppointmentsResourcesTableAdapter.CustomFill(...)
3.
Me
.AppointmentsTableAdapter.CustomFill(...)
But it does not work by loading the data from the webservice (just replacing the loading calls)
1.
Me
.Planning.Merge(WebserviceCall(...))
2.
Me
.Planning.Merge(WebserviceCall(...))
3.
Me
.Planning.Merge(WebserviceCall(...))
Data load correctly and appointments appear good.
Moving an appointment is however not impacted on the datatable match.
For information : bindings are like that :
1.
SchedulerBindingDataSource.EventProvider.AppointmentFactory =
Me
.RadScheduler1.AppointmentFactory
2.
SchedulerBindingDataSource.EventProvider.DataSource =
Me
.Planning.Appointments
3.
SchedulerBindingDataSource.ResourceProvider.DataSource =
Me
.Planning.Resources
4.
Me
.RadScheduler1.DataSource =
Me
.SchedulerBindingDataSource
Do you have an idea of the problem and how to solve it ?
Thank you.
Merci.