We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How to create Recurring Appointments in SfSchedule?

Recurrence feature in the SfSchedule control is used to create recurring appointments. This article explains how to create recurring appointments with a time interval of two days.

Creating Recurring Appointments

  1. Create an appointment by using the following code example.

C#

  1. Now, generate Recurrence rule by using RRuleGenerator and assign it to the RecurrenceRule property of the above created appointment as illustrated in the following code example.

Note: The RRuleGenerator method is used to create Rule available in the ScheduleHelper class.

C#

  1. In the above code example, recurrence rule is created for generating recurring appointments every 2 days. Now, set the IsRecursive property of the Scheduleappointment to true and add the created appointment to the schedule’s Appointments property as illustrated in the following code.

C#

The following screenshots display the output in different views.

C:\Users\ApoorvahR\Desktop\1.jpg

Figure 1: Recurring appointments with time intervals of two days in the Month View

C:\Users\ApoorvahR\Desktop\2.jpg

Figure 2: Recurring appointments with time intervals of two days in the Week view

C:\Users\ApoorvahR\Desktop\3.jpg

Figure 3: Recurring appointments with time intervals of two days in the Day view

C:\Users\ApoorvahR\Desktop\4.jpg

Figure 4: Recurring appointments with time intervals of two days in the TimeLine view

Article ID: Published Date: Last Revised Date: Platform: Control:
3717 02/04/2015 02/04/2015 Silverlight SfSchedule
Tags:
Did you find this information helpful?
Add Comment
You must log in to leave a comment

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.