Skip to main content

ASPxClientScheduler.DeleteAppointment(apt) Method

Client-side scripting method to delete the specified appointment.

Declaration

DeleteAppointment(
    apt: ASPxClientAppointment
): void

Parameters

Name Type Description
apt ASPxClientAppointment

An ASPxClientAppointment object representing the client-side appointment.

Remarks

The DeleteAppointment method initiates a callback command with the SchedulerCallbackCommandId.ClientSideDeleteAppointment identifier. It passes client appointment information to the server and deletes a server Appointment counterpart of the specified client appointment.

You can use the ASPxScheduler.BeforeExecuteCallbackCommand event to intercept a callback and execute a custom update command instead of the default. A custom command should be inherited from the DevExpress.Web.ASPxScheduler.Internal.AppointmentClientSideDeleteCallbackCommand.

See Also