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

Feature Request: multiple RecurrenceRules or CustomRecurrenceRule

1 Answer 72 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
Daniel
Top achievements
Rank 1
Daniel asked on 02 Jun 2012, 11:20 AM

Hi

I'm using radscheduler in a planning system to assign employees, workplaces and other resources to orders and tasks.
The logic respects working hours (including breaktime,blocktime, flextime, standbytime...), absences (illness, vacation, civil work, school...) and constraints (Skills,location...). The job/task-duration can be anything from 0.5 hours to hundreds of Hours.

Because my Businesslogic generates multiple assignments based on planning rules (FIFO,COST Based, Capacity Utilization,Troughput-Time,...) and available timeslots per resource it's not possible to go with one of the existing RecurrenceRule (MinutelyRecurrenceRule, HourlyRecurrenceRule, DailyRecurrenceRule, WeeklyRecurrenceRule, MonthlyRecurrenceRule, YearlyRecurrenceRule)
 

Therefore my Feature request for Telerik is to add support for "multiple Recurrence Rules" or to add a new "CustomRecurrenceRule" which allow to add multiple Occurences.

//Inclusion Rule"-Sample
radScheduler1.Appointments[0].RecurrenceRule = new CustomRecurrenceRule(StartDateTime,EndDateTime );
radScheduler1.Appointments[0].Occurrences.Add(new IEventOccurence(fromDateTime,UntilDateTime,...);
  
//Multiple Rules Sample
RadScheduler1.Appointments(0).RecurrenceRules.add(New SingleRecurrenceRule(EventStartDateTime,EventEndDateTime);

I think this Feature would bee usefull to others as well!  If there is another way to accomplish my requirement, please let me know.

Thanks.

Daniel K

1 Answer, 1 is accepted

Sort by
0
Ivan Todorov
Telerik team
answered on 06 Jun 2012, 04:20 PM
Hello Daniel,

Thank you for writing.

In general, the recurrence rules are used to define a pattern in which a given appointment occurs. This way you do not need to store a separate record for appointment which occurs say every Monday in a range of five years. Therefore, I am not sure what is the case in which you would need to add occurrences manually, since you can just add them as separate appointments. Please share with us in more detail what would be the benefits from such feature and we will consider logging it in our tracking system.

As to implementing such functionality with the current version, yes, you can create a custom recurrence rule by implementing/overriding the RecurrenceRule abstract class. However, I think it would be easier to just add a custom field to the appointments to indicate that separate appointments belong to the same series. If you share any details about your exact requirement, I would gladly assist you in achieving it.

I am looking forward to hearing from you.

All the best,
Ivan Todorov
the Telerik team
RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
Tags
Scheduler and Reminder
Asked by
Daniel
Top achievements
Rank 1
Answers by
Ivan Todorov
Telerik team
Share this question
or