Custom attributes are not updated when saving

0 Answers 91 Views
Scheduler
Petr
Top achievements
Rank 1
Iron
Petr asked on 16 Feb 2022, 02:46 PM
I try to modify edit window for RadScheduler. It is very simple so I am using custom attributes. I set these properties:

CustomAttributeNames = new string[] { "Customer", "Done" };
AdvancedForm.EnableCustomAttributeEditing = true;

RadScheduler's DataSource is defined as DataTable and it contains appropriate columns. Everything is loading fine and I see all values are included in Appointment.Attributes. I use standard template and I see new text controls are visible with correct data.

The problem starts when I try to insert/update appointment. In events AppointmentInsert/AppointmentUpdate I received the appointment with all new data for standard fields (subject, start, end) but there are no attributes in insert (e.Appointment) and old attributes in update (e.ModifiedAppointment).

Do I forgot anything or can I find new values somewhere else?

Thanks for help,
Petr

No answers yet. Maybe you can help?

Tags
Scheduler
Asked by
Petr
Top achievements
Rank 1
Iron
Share this question
or