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.
Unfortunately, activation email could not send to your email. Please try again.

Request for controller code for scheduler

Thread ID:





128130 Jan 4,2017 05:00 AM Jan 5,2017 07:41 AM ASP.NET MVC 1
Tags: Schedule
Asked On January 4, 2017 05:00 AM

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

Sellakumar [Syncfusion]
Replied On January 5, 2017 07:41 AM

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 –  
if (param.action == "remove") 
      ScheduleData app = db.ScheduleDatas.Where(c => c.Id == Convert.ToInt32(param.key)).FirstOrDefault(); 
       if (app != null) db.ScheduleDatas.DeleteOnSubmit(app); 
Kindly revert us, if you need any further assistance. 
Sellakumar 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.

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.