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

More questions about recurrence Rule

1 Answer 50 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
Ming Zhao
Top achievements
Rank 1
Ming Zhao asked on 20 Jan 2010, 08:07 PM
For your appoiment edit dialog,  when set recurrence rule, you can do folllowing:

for weekly , you have recur every  1 or 2  weeks on option
for monthly,  you have every  1 or 2 months  option


How to set those options in recurrence rule instance in the code?

Do you have any sample code to do these?

1 Answer, 1 is accepted

Sort by
0
Dobry Zranchev
Telerik team
answered on 21 Jan 2010, 12:46 PM
Hello Ming Zhao,

Thank you for contacting us. You can use the appropriate properties.

For weekly appointments:

WeeklyRecurrenceRule weeklyrule = new WeeklyRecurrenceRule();
weeklyrule.Interval = 1;

For monthly appointments:

MonthlyRecurrenceRule monthlyrule = new MonthlyRecurrenceRule();
monthlyrule.Interval = 1;

If you have any other questions, do not hesitate to write back.

Kind regards,
Dobry
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Scheduler and Reminder
Asked by
Ming Zhao
Top achievements
Rank 1
Answers by
Dobry Zranchev
Telerik team
Share this question
or