KaxSchedulerAppointmentUpdate Event |
Occurs when an appointment is about to be updated through the provider.
Namespace: Kettic.AspNet.ControlsAssembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntaxpublic event AppointmentUpdateEventHandler AppointmentUpdate
Public Event AppointmentUpdate As AppointmentUpdateEventHandler
public:
event AppointmentUpdateEventHandler^ AppointmentUpdate {
void add (AppointmentUpdateEventHandler^ value);
void remove (AppointmentUpdateEventHandler^ value);
}
member AppointmentUpdate : IEvent<AppointmentUpdateEventHandler,
AppointmentUpdateEventArgs>
Value
Type:
Kettic.AspNet.ControlsAppointmentUpdateEventHandler
Remarks
The
AppointmentUpdateEventArgs hold a reference both
to the original and the modified appointment. Any modifications on the original appointments are
discarded.
The update operation can be cancelled by setting the
AppointmentUpdateEventArgs.Cancel
property of
AppointmentUpdateEventArgs to true.
Examplesvoid KaxScheduler1_AppointmentUpdate(object sender, AppointmentUpdateEventArgs e)
{
e.ModifiedAppointment.End = e.ModifiedAppointment.End.AddHours(1);
}
Sub KaxScheduler1_AppointmentUpdate(sender As Object, e As AppointmentUpdateEventArgs)
e.ModifiedAppointment.End = e.ModifiedAppointment.End.AddHours(1)
End Sub
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
See Also