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)
{
try
{
if (appts == null)
{
appts = new Appointments();
appts.SearchCompleted += new EventHandler<AppointmentsSearchEventArgs>(appts_SearchCompleted);
}
AppointmentsLoading = true;
appts.SearchAsync(startDate, endDate, null);
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
}
For some reason though, it appears that FetchData is called twice on initial load. Is there any way to prevent that?