Can i add appointmentid to OnAppointmentSelect

hi

How to include appointmenid, when i click on a appointment to edit it?

  • Jesper

Hi @Studdy,

The Data property of the event arguments contains the data item. You can use to to access any property from it:

async Task OnAppointmentSelect(SchedulerAppointmentSelectEventArgs<Appointment> args)
{
    var id = args.Data.AppointmentId;
}