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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

drag and drop and Delete the Appointment in Schedule Control in WPF

Thread ID:





109354 Jun 10,2013 05:05 AM UTC Jun 12,2013 12:16 PM UTC WPF 3
Tags: Schedule
Asked On June 10, 2013 05:05 AM UTC


1.  is there are any way to show alert message before drag and drop and Delete the Appointment in           
    Syncfusion Schedule Control in WPF.

2. How to prevent the appointment box, while right click on the appointment schedule

If possible to the above queries,  can you send a sample coding, if would be helpfull us.

Joy Oyiess Rex  K [Syncfusion]
Replied On June 10, 2013 12:45 PM UTC

Hi Amal,


Thank you for your interest in Syncfusion products.


In the Schedule control by default the there is an alert box while delete the appointments and for the drag and drop you can specify your custom message box in the Appointment drag and drop events.


To find more about this you can refer the following link,




Regarding your second query,

With the given information we have suspect that the query is related to visibility of “ContextMenu” while right click the appointment. If so you can set the “ContextMenuType” property of the Schedule as Custom.


Please find the attached sample for the above queries.


If the above solution was not satisfy your query, please revert us back with more information by thus we could assist you better.


Joy Oyiess Rex K


Replied On June 12, 2013 05:29 AM UTC


Thanks for the quick response..

  1. while drag and drop the appointment it has to ask confirmation message .If i click "cancel" button it has to be not allowed to drag to the next position .Please refer the below sample 
Here is the sample

MessageBox.Show("Confirmation",  MessageBoxButton.OKCancel);
            if (DialogResult == true) //OK

                // Update the Appointment Changes
                //dont update the Appointment , and the position of the Appointment cannot be changed (come back to the previous position )

can you provide, if any sample..



Joy Oyiess Rex  K [Syncfusion]
Replied On June 12, 2013 12:16 PM UTC

Hi Amal,

We can handle the Drag and Drop operation property either before dragging the appointment or after dropped using the property AllowDragAndDrop. We cannot handle it in the middle of drag and dropping, instead we can achieve your requirement through the workaround.


In the AppointmentDropped event of the Schedule, we can choose the position of the appointment to be placed, either in the previous or new position after the appointment dropped based on the MessageBoxResult value.

We have attached a sample for the same.

Please let us know, if you have any further assistance.


Joy Oyiess Rex K



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon