Unplanned
Last Updated: 04 Oct 2016 08:13 by ADMIN
ADMIN
Dess | Tech Support Engineer, Principal
Created on: 28 Sep 2016 10:59
Category: Scheduler/Reminder
Type: Bug Report
1
FIX. RadScheduler - Duplicated recurring appointment when its EndDate is at 00:00h
To reproduce:

public Form1()
{
    InitializeComponent();
    this.radScheduler1.ActiveViewType = SchedulerViewType.Week;
    SchedulerWeekView weekView = this.radScheduler1.GetWeekView();
    weekView.RangeFactor = ScaleRange.QuarterHour;
    
    Appointment appointment = new Appointment(DateTime.Today.AddHours(23).AddMinutes(45), new TimeSpan(0,15,0), "Meeting");
    DailyRecurrenceRule rrule = new DailyRecurrenceRule(appointment.Start, 1, 10); 
    appointment.RecurrenceRule = rrule;
    this.radScheduler1.Appointments.Add(appointment);
}

Workaround: In order to deal with the border case with appointment ending at 00:00h, use a new TimeSpan(0,14,59)
Attached Files:
0 comments