This is a migrated thread and some comments may be shown as answers.

[Solved] Custom Attribute not updating OnAppointmentUpdate

1 Answer 120 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Brett
Top achievements
Rank 1
Brett asked on 03 Jun 2009, 01:39 AM
I'm using the AdvancedInsert and Edit Forms with the Scheduler.  In the Forms I have a Custom Attribute.  When I insert a new appointment (OnAppointmentInsert) the value of the Custom Attribute comes back fine, but on an update (OnAppointmentUpdate) I always receive the value that it previously was.  Any suggestions would be great.

1 Answer, 1 is accepted

Sort by
0
Accepted
Peter
Telerik team
answered on 03 Jun 2009, 02:28 PM
Hello Brett,

A common pitfall when handling the AppointmentUpdate event is not to distinguish between e.Appointment and e.ModifiedAppointment.

protected void RadScheduler1_AppointmentUpdate(object sender, AppointmentUpdateEventArgs e)  
    {  
        Appointment a = e.Appointment;  
        Appointment modifiedAppointemnt = e.ModifiedAppointment;  
    } 

Can you check if this is the case at your end? If the problem persists, please open a support ticket and send us a simple demo project for testing.


Regards,
Peter
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Scheduler
Asked by
Brett
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or