Hi,
I’m experiencing some issue when using Windows Forms RAD Controls 2012 Q1 SP1 suite. Actually I can’t figure out how to solve a problem concerning the use of Scheduler control.
Since my project requires custom fields when adding appointments, I’ve decided to implement a custom appointment class. Everything works fine unless I configure a recurrence in some given appointment.
When I handle AppointmentFormatting event and it has been triggered after adding some recurrence to some appointment, once I access the appointment though e.Appointment the so-called appointed isn’t only upcasted to Appointment base class, but its actual type is also Appointment instead of my custom class (f.e. CustomAppointment).
What am I missing? I can’t figure out why other editing actions on the same appointment (or whatever one I try to edit) will receive an instance of CustomAppointment and a recurrence change provides an instance of Appointment.
Thank you in advance for your effort.
I’m experiencing some issue when using Windows Forms RAD Controls 2012 Q1 SP1 suite. Actually I can’t figure out how to solve a problem concerning the use of Scheduler control.
Since my project requires custom fields when adding appointments, I’ve decided to implement a custom appointment class. Everything works fine unless I configure a recurrence in some given appointment.
When I handle AppointmentFormatting event and it has been triggered after adding some recurrence to some appointment, once I access the appointment though e.Appointment the so-called appointed isn’t only upcasted to Appointment base class, but its actual type is also Appointment instead of my custom class (f.e. CustomAppointment).
What am I missing? I can’t figure out why other editing actions on the same appointment (or whatever one I try to edit) will receive an instance of CustomAppointment and a recurrence change provides an instance of Appointment.
Thank you in advance for your effort.