Hello Admin,
I am implementing the radscheduler. In the appointments table i have a field IsEdited which is to be updated if and only if the date and time of the appointment is changed. I have used the following code which works fine for the simple appointment and also for the recurring appointments while editing the series. When I tried to update an occurence of the appointment the master's IsEdited field gets updated, but the occurence's field doesn't.
I want only the occurence's IsEdited field to be updated while updating the particular occurence and while editing the series the Master's field should be updated. How i can achive this?
Please Help me........
Thanks and regards,
roshani
I am implementing the radscheduler. In the appointments table i have a field IsEdited which is to be updated if and only if the date and time of the appointment is changed. I have used the following code which works fine for the simple appointment and also for the recurring appointments while editing the series. When I tried to update an occurence of the appointment the master's IsEdited field gets updated, but the occurence's field doesn't.
protected void rsAppointments_AppointmentUpdate(object sender, AppointmentUpdateEventArgs e)
{
if (e.ModifiedAppointment.Start != e.Appointment.Start || e.ModifiedAppointment.End != e.Appointment.End)
{
e.ModifiedAppointment.Attributes["IsEdited"] = "1";
}
}
Please Help me........
Thanks and regards,
roshani