KaxSchedulerAppointmentCommand Event |
Occurs when a button is clicked within the appointment template.
Namespace: Kettic.AspNet.ControlsAssembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntaxpublic event AppointmentCommandEventHandler AppointmentCommand
Public Event AppointmentCommand As AppointmentCommandEventHandler
public:
event AppointmentCommandEventHandler^ AppointmentCommand {
void add (AppointmentCommandEventHandler^ value);
void remove (AppointmentCommandEventHandler^ value);
}
member AppointmentCommand : IEvent<AppointmentCommandEventHandler,
AppointmentCommandEventArgs>
Value
Type:
Kettic.AspNet.ControlsAppointmentCommandEventHandler
Remarks
The AppointmentCommand event is raised when any button is clicked withing the appointment template.
This event is commonly used to handle button controls with a custom CommandName value.
Examplesvoid KaxScheduler1_AppointmentCommand(object sender, AppointmentCommandEventArgs e)
{
if (e.CommandName == "Delete")
{
Delete(e.Container.Appointment);
}
}
Sub KaxScheduler1_AppointmentCommand(sender As Object, e As AppointmentCommandEventArgs)
If e.CommandName = "Delete" Then
Delete(e.Container.Appointment)
End If
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