The server method 'GetAppointments' failed

2 posts, 0 answers
  1. Andrew Kerrison
    Andrew Kerrison avatar
    4 posts
    Member since:
    Aug 2009

    Posted 18 Jun 2015 Link to this post


     I have a RadScheduler set up to use web service binding. Everything works okay, except when navigating to another page before the scheduler has finished retrieving the appointments (either clicking away or hitting F5 can do this), an alert will be thrown with the message 'The server method 'GetAppointments' failed' or 'The server method 'GetResources' failed. I don't want to prevent the user navigating away, so I need to be able to handle/suppress this error message. Is there any way to do this?

     You can reproduce the same thing on the demo page at, hit F5 after the scheduler appears but before the appointments have been populated. I have so far only reproduced this in Firefox. The timing is quite tricky to get it on the demo, but if the scheduler were using a slower data provider it would be easier to replicate.

  2. Bozhidar
    Bozhidar avatar
    1142 posts

    Posted 23 Jun 2015 Link to this post


    You can handle the OnClientRequestFailed event of the Scheduler control and call set_cancel(true);​ in it, which will prevent the alert from showing up.

    For more information you can refer to our online documentation:

    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