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

Server Side Recurrence

3 Answers 352 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Matthew
Top achievements
Rank 1
Matthew asked on 18 Apr 2019, 10:59 AM

Hi,

We want to use the .net core scheduler for people to define their availability online.  This maybe as single meetings or a reoccurring meeting.  This will probably use the standard web api and db schema used in the telerik examples.  What I then need is a helper function that will return me all the periods of time a single user is available in a given week.  I have read elsewhere that recurrence is client side only and that a library such as ical.net is needed to load/cast the data and then interpret it using its functions.  However I see in this telerik example there is a class that seems to do this:

https://docs.telerik.com/devtools/aspnet-ajax/controls/scheduler/server-side-programming/working-with-recurring-appointments

Before I go down the ical.net path can someone confirm if there is standard telerik SERVER code to get back dates from recurring meetings saved by the schedule and maybe provide more details or an example?

Thanks, Matt

 

 

 

 

3 Answers, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 23 Apr 2019, 05:59 AM
Hi Matthew,

The referred article for parsing recurrence rules is from the Telerik UI for ASP.NET AJAX suite. However, this helper is not available for ASP.NET Core and also its fields and formats differ, thus it is not suitable to be reused in ASP.NET Core.

The Telerik UI for ASP.NET Core Scheduler component follows the iCal specification for constructing the recurrence pattern format. That being said, you should be able to manually parse the rule on the server based on the spec, or alternatively use a third-party C# parser for the recurrence rule. For example, you could check the iCal.NET library and verify if it is suitable to be used for the project requirements.

In case you have any additional questions, please let me know.

Regards,
Dimitar
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Matthew
Top achievements
Rank 1
answered on 30 Apr 2019, 09:11 AM

Hi,

 

Thanks for the response.  Are there any plans to port/upgrade the ajax code to .net core as the ability to deal with the client side rules on the server is a key part of working with the control.  We will look at iCal in the meantime but an additional dependency like this is not ideal and parsing it ourselves adds to our backlog.

Regards, Matt

 

0
Dimitar
Telerik team
answered on 02 May 2019, 07:19 AM
Hi Matthew,

I have logged this on your behalf as a new feature request in the Telerik UI for ASP.NET Core Feedback Portal so that we can track the user demand for such a feature. Based on the gathered feedback, such a feature could be scheduled for implementation in a future release of the suite.

Regards,
Dimitar
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Scheduler
Asked by
Matthew
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Matthew
Top achievements
Rank 1
Share this question
or