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

Request for controller code for scheduler

Thread ID:

Created:

Updated:

Platform:

Replies:

128130 Jan 4,2017 10:00 AM UTC Jan 5,2017 12:41 PM UTC ASP.NET MVC 1
loading
Tags: Schedule
ashwan
Asked On January 4, 2017 10:00 AM UTC

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 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 


CONFIRMATION

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.

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

;