I have some resources defined and they show up fine on the Advanced Insert form. Then, after clicking insert, the data doesn't seem to get passed. That, or I'm accessing it wrong. I'm using a custom data source for both Appointments and Resources (DataSet from an XML file). When modifying, it does work, however.
I simply have:
I simply have:
| protected void scheduler_AppointmentInsert(Object sender, SchedulerCancelEventArgs e) |
| { |
| Response.Write(e.Appointment.Resources.Count.ToString()); // Is always 0 |
| } |
| protected void scheduler_AppointmentUpdate(Object sender, AppointmentUpdateEventArgs e) |
| { |
| Response.Write(e.ModifiedAppointment.Resources.Count.ToString()); // Is correct |
| } |