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

Scheduler Recurrence event with Monthly/Yearly and Weekday/Weekend day issue

6 Answers 344 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Jason
Top achievements
Rank 1
Jason asked on 12 Jan 2016, 06:44 AM
Hi,

I am using the Kendo UI v2015.1.429 with Scheduler Recurrence feature. I create a recurrence event with information
[Repeat:Monthly/Yearly
Repeat every: 1
Repeat on: first/second/... -> "weekday"/"weekend day"
End:Never]

Then I see the displaying result only shows 1 event in day of month. I think the "weekday" will show from Monday to Friday and the "weekend day" will show satuday and sunday.

Can you help to give me your suggestion?

Regards,

Jason

6 Answers, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 14 Jan 2016, 09:09 AM
Hello Jason,

A recurring event that repeats every month on every first day of the week, means that it will be shown only once per month in the first possible day of the week where the month starts. For instance, if the setup is "First weekday" and the month starts on Wendnesday (2012-08-01), then the event will be shown there.
If the recurrence is changed to "First weekend", then the event will be shown in the first Saturday of the month.

Let me know if something is not clear or you need further assistance.

Regards,
Georgi Krustev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Jason
Top achievements
Rank 1
answered on 15 Jan 2016, 04:17 AM

Hello,

Our application implements ical standard and follows RFC5545 specification for the RecurrenceRule value (http://tools.ietf.org/html/rfc5545). For example, event occurs every first weekday of the month in ical will mark 5 first working days of the month. However, you advised that Kendo UI will only understand that rule as one first working day of the month. Could you please advise how we could interpret the recurrence rule in this case from ical to kendo ui? Should we transform the ical recurrence rule to 5 smaller Kendo UI rules to make this scenario work?

Regards,

Jason

0
Georgi Krustev
Telerik team
answered on 18 Jan 2016, 04:53 PM
Hello Jason,

The recurrence engine of the Scheduler also follows RFC5545 specs. The recurrence rule, you are referring to, however, shows only one event at the first weekday of the month. The RecurrenceEditor actually sets the following recurrence rule when "first weekday" is set:
  • "FREQ=MONTHLY;BYDAY=MO,TU,WE,TH,FR;BYSETPOS=1"
We tend to behave like MS Outlook will. Here is a screencast that demonstrates what we are trying to achieve:
If you need different behavior, then you will need to modify the recurrenceRule to match your business requirements. Probably, you will need and custom recurrence editor template in this case.

Regards,
Georgi Krustev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Jason
Top achievements
Rank 1
answered on 19 Jan 2016, 03:31 AM

Hello,

So if we have the following rule in ical (RFC5545):
FREQ=MONTHLY; BYDAY=1MO,1TU,1WE,1TH,1FR
What is the equivalent rule in Kendo UI? 

Could you please point us out how to custom recurrence editor template to have that rule?
0
Jason
Top achievements
Rank 1
answered on 19 Jan 2016, 03:58 AM

Hello,

We also try the following Kendo UI rule starting from 18/01/2016:
RRULE:FREQ=MONTHLY;BYDAY=1MO,1TU,1WE,1TH,1FR
and it renders as below:
Feb 2016: 5 days (1st Mon to 5th Fri)
Mar 2016: 1 day (7th Mon)
Apr 2016: 4 days (4th Mon to 7th Fri)
.....
Is that the way Kendo UI works? If yes, can you please explain how it works in this case?

Regards,

Jason

Xhevdet
Top achievements
Rank 1
commented on 05 Oct 2022, 08:40 AM

Hello Jason, how can I do 
Like  FREQ=MONTHLY; COUNT=4 and INTERVAL=1  and one date exemple 18/01/2022
for 4 months date 
 18/01/2022, 18/02/2022, 18/03/2022,  18/04/2022 
Ianko
Telerik team
commented on 07 Oct 2022, 08:05 AM

Hello, 

The RRULE is an iCal standard and you can follow the specification and the protocols of the iCal standardization: https://icalendar.org/RFC-Specifications/iCalendar-RFC-5545/.  

0
Georgi Krustev
Telerik team
answered on 20 Jan 2016, 11:33 AM
Hello Jason,

It seems that the widget renders events only for the second week. The days from the first week are taken into account, but not generated. This behavior is not expected and should be addressed on our side. O logged the issue and it will be fixed in some of our next internal builds of Kendo UI.

For now, we would not be able to provide any feasible workaround as the generation issue is caused by the recurring engine.

Regards,
Georgi Krustev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Scheduler
Asked by
Jason
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Jason
Top achievements
Rank 1
Share this question
or