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

7 posts, 0 answers
  1. Jason
    Jason avatar
    9 posts
    Member since:
    Oct 2015

    Posted 12 Jan Link to this post

    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
  2. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3706 posts

    Posted 14 Jan Link to this post

    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!
     
  3. Kendo UI is VS 2017 Ready
  4. Jason
    Jason avatar
    9 posts
    Member since:
    Oct 2015

    Posted 14 Jan Link to this post

    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

  5. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3706 posts

    Posted 18 Jan Link to this post

    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!
     
  6. Jason
    Jason avatar
    9 posts
    Member since:
    Oct 2015

    Posted 18 Jan in reply to Georgi Krustev Link to this post

    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?
  7. Jason
    Jason avatar
    9 posts
    Member since:
    Oct 2015

    Posted 18 Jan in reply to Jason Link to this post

    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

  8. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3706 posts

    Posted 20 Jan Link to this post

    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!
     
Back to Top
Kendo UI is VS 2017 Ready