This is a migrated thread and some comments may be shown as answers.

Scheduler: Expand RecurrenceEvent to Individual Events

4 Answers 149 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Jeff
Top achievements
Rank 1
Jeff asked on 13 Feb 2015, 03:33 PM
Has anyone ever tried or know a way to expand out the RecurenceEvent to individual events?

Thanks,
Jeff

4 Answers, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 17 Feb 2015, 09:58 AM
Hello Jeff,

In general, you can expand a recurrence event on the client (browser) using Scheduler recurrence framework. The SchedulerEvent instance has an expand method that will create a recurrence series of events. Here is a "how-to" demo that demonstrates the expand method usage.

If you would like to create recurrence series on the server, then you will need to use 3rd party library that will expand the recurring event. One possible option is to use the DDay.iCal library which seems to handle this task pretty well.

Regards,
Georgi Krustev
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Jeff
Top achievements
Rank 1
answered on 17 Feb 2015, 03:35 PM
Thank you Georgi.

It doesn't appear that MVC has a server side conversion to iCalendar or am I missing something?

If it doesn't the recommended approach would be to convert my Event Object to iCalendar event, then get the recurrences?

Thank you.
Jeff
0
Georgi Krustev
Telerik team
answered on 19 Feb 2015, 08:56 AM
Hello Jeff,

You are correct, the server implementation does not include built-in support for a iCal conversion. You will need to transform the iCal events into SchedulerEvent instances manually. This should not be a problem, as the SchedulerEvent has pretty similar fields as the iCal event.

It depends how your "Event Object" keeps the recurrence rule value. In the case of the DDay.iCal library, you will need to use its event structures to create a recurrence series on the server.

As I pointed in my previous reply, Kendo UI Scheduler does not support recurrence series creation on server and you will need to use a third party library. It could be or not the DDay.iCal library. It depends on your personal preferences.

Let me know if the given information helps, or I am missing something?

Regards,
Georgi Krustev
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Erik
Top achievements
Rank 1
answered on 24 Apr 2017, 01:19 PM
For those wanting to expand recurring schedules server-side, DDay.iCal has been replaced by iCal.NET (https://github.com/rianjs/ical.net/)
Tags
Scheduler
Asked by
Jeff
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Jeff
Top achievements
Rank 1
Erik
Top achievements
Rank 1
Share this question
or