Trying to drag/drop a recurring event but I am getting the alert for "Two occurrences of the same event cannot occur on the same day" even when dragging to a date that the event is not already occurring on. This raises a couple of additional questions regarding the drag/drop of a recurring event:
Trying to drag/drop a recurring event but I am getting the alert for "Two occurrences of the same event cannot occur on the same day" even when dragging to a date that the event is not already occurring on.
As per current Scheduler architecture, this is the default behaviour. When you drag the occurrence from the in between of series and drop that occurrence to the before series, you can’t drop. If you drag the first event from the occurrence and drop it before the series, you can drop this. As per Outlook and Google calendars standard we are achieved this in our Component.
For your remaining query,
In the Dragged event, we only given the dropped date details. If you want to know where the event dragged from, you can use the Schedule’s OnDragStart event. In that event you can get the details of where the events dragged from, as shown in the below shared snippet.
<ScheduleEvents TValue="AppointmentData" OnDragStart="onDragStart"></ScheduleEvents>
public void onDragStart(DragEventArgs<AppointmentData> args)
Console.WriteLine(args.StartTime); //you can get the startTime and endTime of where you are dragged from.