Appointment Datasource / asynchronous loading

3 posts, 1 answers
  1. Rudolf
    Rudolf avatar
    9 posts
    Member since:
    Jul 2012

    Posted 25 Jan 2012 Link to this post

    Dear Telerik Team,

    i have a little quest.

    I Have a RadScheduleView Control, with an AppointmentDatasource, which get's the Appointments from
    a Webservice.

    My Problem is, that the Appointments will be loaded by to Webservice calls

    Step 1. FreeBusyAppointments
    Step 2. ExchangeAppointment Details

    Step 1 work very well and very fast, but Step 2. needs a lot of time, because the Backendservers are very slow while fetching the data.

    So my solutions ist, that i turn on a busy indicator, loading Step 1 from the Webservice, put the Appointments into the RadschedulerView,
    then turn off the busy inidcator and start a backgroundworker which loads the ExchangeAppointment details. When Step 2 is finished
    the Appointments will be added to the Rad Scheduleview.

    This should give users the possibility to see and user the radscheduleview before all appointment details are loaded.

    That's the plan.

    The Problem is, that after i turn of the busy indicator and starting the backgroundworker,
    i see the freebusy appointments in the radscheduleview, but the busy indicator is also stil shown,
    but it hangs up (including the InternetExplorer) until all Appointments from step 2 are loaded and filled into the radscheduleview.

    I can easily reproduce this with filling some static Appointments in the RadScheduleview while blocking the Backgroundworker process with a 


    Is there any Solution about such a scenario - because the Step 2. can take up to 30 seconds, and the control is unusable during this period

    thanks for your help

    kind regards
  2. Answer
    George avatar
    1332 posts

    Posted 31 Jan 2012 Link to this post

    Hi Rudi,

    I tried to reproduce the problem, but to no avail. You can find the attached sample project. At start up, some basic appointments are loaded (in 5 secs delay) and after that on completed event in the background worker new 2 appointments are added to the ScheduleView control. Please, take a look and let me know if I miss something. 

    I am glad to assist you further.

    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. Rudolf
    Rudolf avatar
    9 posts
    Member since:
    Jul 2012

    Posted 01 Mar 2012 Link to this post

    that worked great, thank you very much
Back to Top