Recurrence string

2 posts, 0 answers
  1. Chom
    Chom avatar
    56 posts
    Member since:
    Dec 2009

    Posted 03 Mar 2014 Link to this post

    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
  2. Dess | Tech Support Engineer, Sr.
    Admin
    Dess | Tech Support Engineer, Sr.  avatar
    3273 posts

    Posted 06 Mar 2014 Link to this post

    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!

Back to Top