RecurrenceRule and Broken Documentation

4 posts, 1 answers
  1. Michael Malone
    Michael Malone avatar
    68 posts
    Member since:
    May 2010

    Posted 30 Sep 2010 Link to this post

    I'm trying to create a recurring appointment in the code-behind and am following the below example found here -

    http://www.telerik.com/help/silverlight/radscheduler-features-recurrences-recurrence-rule.html

    This code doesn't appear to work... RecurrenceRule is an abstract class so you can not create an instance of it like in the example below. Can someone give me an example of creating a recurring appointment programmatically? 

    Appointment fitnessAppointment = new Appointment();
    fitnessAppointment.Subject = "Fitness";
    fitnessAppointment.Start = DateTime.Now;
    fitnessAppointment.End = DateTime.Now.AddHours(2);
     
    RecurrencePattern recurrencePattern = new RecurrencePattern();
    recurrencePattern.Frequency = RecurrenceFrequency.Weekly;
    recurrencePattern.MaxOccurrences = 30;
    recurrencePattern.DaysOfWeekMask = RecurrenceDays.Monday | RecurrenceDays.Wednesday | RecurrenceDays.Friday;
     
    RecurrenceRule recurrenceRule = new RecurrenceRule( recurrencePattern );
     
    fitnessAppointment.RecurrenceRule = recurrenceRule;
  2. Answer
    Veronica
    Admin
    Veronica avatar
    1213 posts

    Posted 06 Oct 2010 Link to this post

    Hello Michael Malone,

    Actually you are watching a help topic for the Silverlight controls. Here's an example of creating recurring appointments server-side. 

    Please let me know if you have further questions.

    Best Regards,
    Veronica MIlcheva
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Stephane
    Stephane avatar
    14 posts
    Member since:
    Dec 2010

    Posted 22 May 2012 Link to this post

    Hello,

    The link provided by Veronica to solve that issue is no longer available.

    Can you tell us the right one ?

    Thanks,

    Stéphane
  4. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 22 May 2012 Link to this post

    Hello Stephane,

    Here is the correct url - http://www.telerik.com/help/aspnet-ajax/scheduler-working-with-recurring-appointments.html.


    Greetings,
    Peter
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top