Completed
Last Updated: 27 Apr 2020 07:37 by ADMIN
Release R2 2020
Ben
Created on: 03 Apr 2020 03:41
Category: Scheduler/Reminder
Type: Feature Request
2
RadScheduler: Parse minutely recurrence

Hi,

I am using the CalHelper (as suggested by this) in order to convert RecurrenceRule back and forth to string in order to persist on the database.

With the minutely recurrence rule, it seems like the conversion is not done correctly.

Please check the below code:


            var recurrenceRule = new MinutelyRecurrenceRule();
            recurrenceRule.Start = new DateTime(2020, 4, 1);
            recurrenceRule.Interval = 30;
            recurrenceRule.End = new DateTime(2020, 4, 1, 2, 0, 0);
            var qString = CalHelper.RecurrenceRuleToString(recurrenceRule);
            RecurrenceRule recurrenceRule1;
            CalHelper.TryParseRecurrenceRule(qString, out recurrenceRule1);// recurrenceRule1 will be null

 

Is there a way to fix this issue?

Thanks,

1 comment
ADMIN
Dess | Tech Support Engineer, Principal
Posted on: 03 Apr 2020 14:01
Hello, Ben,

Indeed, the provided code snippet returns a null RecurrenceRule. The CalHelper.TryParseRecurrenceRule is expected to skip the RecurrenceType.Minutely in its internal implementation. 

I am logging a feature request to research the possibility to implement support for MinutelyRecurrenceRule when parsing the result from the CalHelper.RecurrenceRuleToString method. I have logged it in our feedback portal by creating a public thread on your behalf. You can track its progress, subscribe for status changes and add your comments on the following link - feedback item.

I have also updated your Telerik points.

Currently, due to the specificity and complexity of parsing iCal format, I am unable to suggest an appropriate solution. Please make sure that you cast your vote for the item. The more votes an item gathers, the higher its priority becomes.

I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

 

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.