Hi folks!
Is there any way to handle actions inside of Reminder dialog?
I need to implement some operations when people are dismissing appointment/
Thanks in advance.
Hello, In case that you need to handle particular appointment behind dismissed you probably is best to inhered the ReminderDialog. And handle dismiss events acordingly the selected apointment.However, you should be able to do it also with current ReminderDialog. You can use this sample in order to handle particular Apointment begin displayed:vooid CalendarInfo_BeforeDisplayReminderDialog(object sender, Infragistics.Win.UltraWinSchedule.CancelableAppointmentEventArgs e) { ReminderDialog dialog = new ReminderDialog(sender as UltraCalendarInfo); dialog.AddAppointmentReminder(e.Appointment); if (dialog.ShowDialog() == DialogResult.Cancel) { string info = string.Empty; info += "This Reminder was last dismissed " + e.Appointment.Description + e.Appointment.EndDateTime.ToString(); MessageBox.Show(info, "AfterDismissDisplayReminderDialog", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); } }Note that also “DismissAll “ will be handled in this scenario, you need to aware in case if there is more than one appointment.I hope this information was helpful, let me know if you have additional questions.DimiDeveloper Support Engineer
Dimi, thx, but your code doesn't work as soon as I get same DialogResult.Cancel when I close the reminder form and when I press Dismiss Button. Do u have a workaround for it?