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
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
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
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"
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
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?
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
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
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/.
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