Hello,
I have a problem with the BeforeDisplayReminderDialog event on a CalendarInfo component. I am using NetAdvantage 2009.1.
I added two appointments. The first one is a single appointment, the second is a recurring appointment. Both appointments have the same start- and endtime. Both have identical Reminders set to 15 minutes before the appointments start times. Then I call CheckAppointmentReminders. BeforeDisplayReminderDialog is called only once - for the single appointment.
I can't get the reminder working for a recurring appointment. Any help is highly appreciated.
The issue is fixed in 2009.2
There is a fix for version 2009.1 available. Submit a request to get the fix.
I am experiencing the exact same behavior.
I cannot imagine that this is functioning as designed...
my crude work arround is to put a timer on my form to check every minute for appointment matches then raise the dialog myself...
its an ugly aproach, but after four months of no responses to the post, I am going to have to say its a bug...
I still have the problem, that the reminder seems to be ignored on recurring appointments. Is it a bug or is the behavior intended that way?
I investigated the problem further. As soon as I set the starttime of the recurring appointment in the past the event fires. It seems, that for recurring appointments the reminder is not recognized for the occurrence.
Am I missing something or is it a bug?
The behavior is reproducable with the following code (C#):
private void CreateAppointments(){ DateTime start = DateTime.Now.AddMinutes(10.0F); DateTime end = start.AddMinutes(15.0F); Appointment appSeries = new Appointment(start, end); appSeries.Subject = "Recurring Appointment"; Reminder remSeries = new Reminder(); remSeries.DisplayInterval = 15; remSeries.DisplayIntervalUnits = DisplayIntervalUnits.Minutes; remSeries.Enabled = true; appSeries.Reminder = remSeries; AppointmentRecurrence recSerie = new AppointmentRecurrence(); recSerie.PatternFrequency = RecurrencePatternFrequency.Daily; recSerie.PatternInterval = 2; recSerie.RangeMaxOccurrences = 3; recSerie.RangeLimit = RecurrenceRangeLimit.LimitByNumberOfOccurrences; appSeries.Recurrence = recSerie; this.ultraCalendarInfo1.Appointments.Add(appSeries); Appointment app = new Appointment(start, end); app.Subject = "Simple Appointment"; app.Reminder = new Reminder(); app.Reminder.DisplayInterval = 15; app.Reminder.DisplayIntervalUnits = DisplayIntervalUnits.Minutes; app.Reminder.Enabled = true; this.ultraCalendarInfo1.Appointments.Add(app); this.ultraCalendarInfo1.CheckAppointmentReminders();}