Hello Vigneshkumar R,
Thanks for your kind reply. But in this demo I can't able to handle Delete button click.
Can you guide me how can I capture Delete event. I am not using Scheduler Default Editor.
My code is
private void SfSchedule1_AppointmentEditorOpening_1(object sender, Syncfusion.UI.Xaml.Schedule.AppointmentEditorOpeningEventArgs e)
{
try
{
Appointment obj = (Appointment)e.Appointment;
if (e.Action == EditorAction.Add)
{
//for avoid showing of default editor
e.Cancel = true;
AddSchedulerAppointment(e);
}
else if (e.Action == EditorAction.Edit)
{
//For avoid showing of default editor
e.Cancel = true;
EditAppointment((Appointment)e.Appointment);
}
else if (e.Action == EditorAction.Delete)
{
e.Cancel = true;
CancelAppointment((Appointment)e.Appointment);
}
}
catch (Exception ex)
{ }
}
ADD and Edit works fine but Delete not working.