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

Supporting recurrence with custom Appointment object

3 Answers 76 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Joe Buckle
Top achievements
Rank 1
Joe Buckle asked on 05 May 2010, 12:11 AM
Good day!

I'm using my own business objects to populate a scheduler using Linq-to-SQL within the scheduler's VisibleRangeStart and VisibleRangeEnd. Now I want to be able to support recurrence, but I'm not sure where to start. What properties should I add to my custom Appointment class/object to support recurrence? How do I retrieve recurrences using Linq-to-SQL? How do I update or delete an occurence or the entire series? Your help will really be appreciated.

Thanks!!!

3 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 06 May 2010, 09:46 AM
Hello Joe,

Please, refer to the help topic on Working with Recurring Appointments. Also the Getting Started topic shows how to bind RadScheduler to data source that supports recurring appointments.

Let us know if you need more help.

Best wishes,
Peter
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.
0
Joe Buckle
Top achievements
Rank 1
answered on 06 May 2010, 11:27 AM
Hi Peter!

The samples really doesn't show or explain how to retrieve appointments that have recurrence between the visible range start/end of a scheduler, or how to update/delete an entire series or just an occurence within a series. I really hope you can help me with this. Thanks.
0
Peter
Telerik team
answered on 11 May 2010, 04:13 PM
Hi Joe,

If you need to make sure that an occurrence of a recurring appointment falls within a given time range, you have to parse the recurrence rule and loop through each occurrence. In addition to the help topic, you can also see this kb article for how to parse the recurrence rule:
http://www.telerik.com/support/kb/aspnet-ajax/scheduler/how-to-display-all-radscheduler-appointments-in-gridview.aspx

There is a detailed kb article on RadScheduler with LinqDataSource.

If you need a deeper understanding on how recurring appointments are retrieved and updated, I suggest you review the Database Provider demo, and in particular the source code for the provider is located in the App_Code directory of the QSF.


Greetings,
Peter
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.
Tags
Scheduler
Asked by
Joe Buckle
Top achievements
Rank 1
Answers by
Peter
Telerik team
Joe Buckle
Top achievements
Rank 1
Share this question
or