Scheduler: Expand RecurrenceEvent to Individual Events

4 posts, 0 answers
  1. Jeff
    Jeff avatar
    10 posts
    Member since:
    Jun 2010

    Posted 13 Feb 2015 Link to this post

    Has anyone ever tried or know a way to expand out the RecurenceEvent to individual events?

    Thanks,
    Jeff
  2. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3707 posts

    Posted 17 Feb 2015 Link to this post

    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.

     
  3. UI for ASP.NET MVC is VS 2017 Ready
  4. Jeff
    Jeff avatar
    10 posts
    Member since:
    Jun 2010

    Posted 17 Feb 2015 in reply to Georgi Krustev Link to this post

    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
  5. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3707 posts

    Posted 19 Feb 2015 Link to this post

    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.

     
Back to Top
UI for ASP.NET MVC is VS 2017 Ready