Hi Kesavan,
Please check out the response below.
Deleting AppointmentYou can delete the appointment from the schedule control using RemoveAt method of Appointments collection.
The following code snippet illustrates this.
[C#]
Scheduler1.Appointments.RemoveAt(index);
Please refer the below sample that deletes appointment when ViewMode set to horizontal.
http://websamples.syncfusion.com/samples/Schedule.Web/5.2.0.25/P39561_4/main.htm What method to call when drag and drop/extend or reduce the appointment date. Updating appointment into database when I use drag and drop from server side .Setting AllowDrag property of Schedule control to true, allows to drag and drop the appointments between the resources inside the control. AppointmentDragged raises the server side function when the appointment is dragged. You can write the code to update the appointment in the database using AppointmentDragged event as follows.
[C#]
protected void Schedule1_AppointmentDragged(object sender, Syncfusion.Web.UI.WebControls.ScheduleControl.AppointmentDraggedEventArgs e)
{
DateTime StartTimeOld, EndTimeOld;
int OldOwner;
StartTimeOld = e.OldStartTime;
EndTimeOld = e.OldEndTime;
OldOwner = e.OldOwner;
//Do the database update here
}
Please let me know if you require any more details.
Regards,
Jaya