FetchData being called twice on initial load?

Thread is closed for posting
2 posts, 1 answers
  1. goodbar
    goodbar avatar
    6 posts
    Member since:
    Oct 2013

    Posted 09 Nov 2013 Link to this post

    Hello - Per the RadCalendar example, I placed an override for FetchData in my viewmodel that inherits from AppointmentSource

    public override void FetchData(DateTime startDate, DateTime endDate)




    if (appts == null)


    appts = new Appointments();

    appts.SearchCompleted += new EventHandler<AppointmentsSearchEventArgs>(appts_SearchCompleted);


    AppointmentsLoading = true;

    appts.SearchAsync(startDate, endDate, null);


    catch (Exception ex)





    For some reason though, it appears that FetchData is called twice on initial load.  Is there any way to prevent that?

  2. Answer
    Todor avatar
    798 posts

    Posted 14 Nov 2013 Link to this post

    Hi Joe,

    Thank you for writing.

    You are right that FetchData is called twice on initial load. We are going to fix this for our Service Pack release in the end of the month.

    I have updated your telerik points for your cooperation.
    Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
Back to Top