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 |
---|---|
appointment |
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. |
html |
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 Appointmenttrue
if an event handler involves a callback (e.