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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to create Recurring Appointments in SfSchedule?

Platform: Silverlight |
Control: SfSchedule |
Published Date: February 4, 2015 |
Last Revised Date: February 4, 2015
Tags: 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

ADD COMMENT
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon