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

Recurrence string

1 Answer 6 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
Chom
Top achievements
Rank 1
Chom asked on 03 Mar 2014, 08:48 PM
Hello,

I have created a custom appointment and I want to include some recurrence items in my appointment dialog. I have also saved my appointment and recurrence string to a db table.

Basically based on the recurrence of the appointment I need to watch for that recurrence and fire an event.

My question is, is there a way/method to interpret that recurrence string which would allow me to watch for it when the clock and date ticks by.

Thanks

Gavin

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 06 Mar 2014, 01:52 PM
Hello Gavin,

Thank you for contacting Telerik Support.

I am not sure whether I understand completely your requirement. You can use the following code snippet to parse a specific string to a recurrence rule on each Timer.Tick :
RecurrenceRule rule = default(RecurrenceRule);
 
if (Telerik.WinControls.UI.Scheduler.ICalendar.CalHelper.TryParseRecurrenceRule(value, out rule))
{
      return rule;
}

If this is not the exact requirement, please specify in details the expected behavior.

I am looking forward to your reply.

Regards,
Desislava
Telerik

DevCraft Q1'14 is here! Join the free online conference to see how this release solves your top-5 .NET challenges. Reserve your seat now!

Tags
Scheduler and Reminder
Asked by
Chom
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or