Feature Request: multiple RecurrenceRules or CustomRecurrenceRule

2 posts, 0 answers
  1. Daniel
    Daniel avatar
    19 posts
    Member since:
    Nov 2010

    Posted 02 Jun 2012 Link to this post

    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

  2. Ivan Todorov
    Admin
    Ivan Todorov avatar
    688 posts

    Posted 06 Jun 2012 Link to this post

    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 >>
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top