How to load a Scheduler Data from a Web Service call ?

2 posts, 0 answers
  1. Fabien
    Fabien avatar
    1 posts
    Member since:
    Nov 2015

    Posted 05 Nov 2015 Link to this post


    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 :


    But it does not work by loading the data from the webservice (just replacing the loading calls)


    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.


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

    Posted 06 Nov 2015 Link to this post

    Hello Fabien,

    Thank you for writing.
    When you populate RadScheduler by using a web service, it loads the extracted data initially. However, for any further changes you should handle the database update operation. It would be necessary to track any appointment changes and save the respective property values to the database. You can refer to the following help articles demonstrating sample approaches for updating the database:

    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