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

Request for controller code for scheduler

How to remove recurrence series of records at a time not only for appointment for all at a time.

Can u please suggest me

Thank you

1 Reply

SE Sellakumar Syncfusion Team January 5, 2017 12:41 PM UTC

Hi Ashwan, 
 
Thanks for contacting Syncfusion support. 
 
To remove the recurrence series of appointments in controller page, you can go with the usual batch action which gets triggered for all CRUD operations on appointments. In the remove functionality, you can just pass the appointment id to delete the entire series. We have prepared the sample based on your requirement, which can be downloaded from the following location. 
 
 
Please find the below code snippet where the remove action takes place in the controller side –  
 
<code> 
 
if (param.action == "remove") 
{ 
      ScheduleData app = db.ScheduleDatas.Where(c => c.Id == Convert.ToInt32(param.key)).FirstOrDefault(); 
       if (app != null) db.ScheduleDatas.DeleteOnSubmit(app); 
} 
 
</code> 
 
Kindly revert us, if you need any further assistance. 
 
Regards, 
Sellakumar K 


Loader.
Up arrow icon