1
Vote

"SelectedAppointment" property may be wrong

description

Reason: "appointmentViews" and "longappointmentViews" contain events no longer shown
Quick Fix: Clear these dictionaries in "ResolveAppointments"
i.e.:
    protected virtual void ResolveAppointments(ResolveAppointmentsEventArgs args)
    {
        System.Diagnostics.Debug.WriteLine("Resolve app");
 
        if (OnResolveAppointments != null)
            OnResolveAppointments(this, args);
 
        this.allDayEventsHeaderHeight = 0;
 
        // cache resolved appointments in hashtable by days.
        cachedAppointments.Clear();
 
  • appointmentViews.Clear(); // ***
  • longappointmentViews.Clear(); // ***

comments