Skip to main content

ASPxClientScheduler.AppointmentClick Event

Occurs when the end-user clicks an appointment.

Declaration

AppointmentClick: ASPxClientEvent<AppointmentClickEventHandler<ASPxClientScheduler>>

Event Data

The AppointmentClick event's data class is AppointmentClickEventArgs. The following properties provide information specific to this event:

Property Description
appointmentId Gets the client appointment ID for the appointment being clicked.
handled Gets or sets whether an event is handled, and that default actions are not required.
htmlElement Gets the HTML element that the event was triggered on.

Remarks

Handle this event to perform required actions on the client side via JavaScript. The AppointmentClickEventArgs.appointmentId property represents the client ID of the appointment. You can retrieve a client appointment by its ID using the ASPxClientScheduler.GetAppointmentById method, but appointment properties are generally unavailable until a ASPxClientScheduler.RefreshClientAppointmentProperties method is called.

Note

Set the AppointmentClickEventArgs.handled property to true if an event handler involves a callback (e.g. a call to the RefreshClientAppointmentProperties method).

See Also