We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

How can i capture delete event of scheduler

Hello,

I want to delete appointments from DB. So In which event (like SfSchedule1_AppointmentEditorOpening) I can do this ?.




thanks


3 Replies

VR Vigneshkumar Ramasamy Syncfusion Team August 31, 2015 12:10 PM UTC

Hi Muhammad,

Thanks for using Syncfusion product.

As of now your requirement deleting appointment from Data base can be achieved by using AppointmentEditorClosed event. Based on the EditorClosedAction action in the AppointmentEditorClosed event you can Edit or Delete the appointment from local appointment collection.

Please refer the below KB articles for more details

KB Link:
http://www.syncfusion.com/kb/4726/how-to-update-the-itemssource-collection-by-using-the-default-editor

Please let us know if you have any concerns.

Regards,
Vigneshkumar R


MM Muhammad Mobeen September 2, 2015 09:41 AM UTC

Hello Vigneshkumar,

your provided link not working in Delete case. I tested this code and found that its not working when I press radial Delete button.
Can you provide ma sample in which I can handle Delete button event.



thanks


NM Nijamudeen Mohamed Sulaiman Syncfusion Team September 3, 2015 10:34 AM UTC

Hi Muhammad,


As of now we don’t have support for getting delete event from default Context menu of Schedule control. But your requirement can be achieved by overriding the default radial menu of Schedule. Please refer the below KB articles for more details

KB Link: http://www.syncfusion.com/kb/2686/how-to-customize-the-context-menu-in-sfschedule


Please let me know, if you have any query.


Regards,
Nijamudeen M.


Loader.
Live Chat Icon For mobile
Up arrow icon