how to deal with lots of crazy recurrences

4 posts, 0 answers
  1. towpse
    towpse avatar
    224 posts
    Member since:
    Mar 2008

    Posted 04 Dec 2009 Link to this post

    a user can potentially go crazy with how they schedule something.
    they could say an appointment occurs at 9 - 12 noon every day and have it recur every hour.
    That means you have tons of overlapping schedules on the calendar. This seems to put a heavy toll on the script to render that.

    just wondering if others can comment on how they've been dealing with this.
  2. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 09 Dec 2009 Link to this post

    Hi towps,

    You can use the advanced templates and provide only specific recurrence options.


    Regards,
    Peter
    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. towpse
    towpse avatar
    224 posts
    Member since:
    Mar 2008

    Posted 14 Dec 2009 Link to this post

    I don't think I've seen anything in that article that will help me.
    Correct me if I'm wrong or perhaps can you be more specific?

    How can I prevent a user from creating a 5 hour long appointment that recurs every hour or something like this?

    Although on your example however, the rendering seems to work fine and not prompt a script error.
    has anyone else ran into any script errors when rendering lots of appointments on the calendar?
  5. Dimitar Milushev
    Admin
    Dimitar Milushev avatar
    555 posts

    Posted 17 Dec 2009 Link to this post

    Hi,

    As Peter mentioned, you can customize the edit form and remove various options, for example the Hourly recurrence option. Another option is to handle the AppointmentInsert event and inspect appointments that are about to be inserted and cancel the inserting if they don't match some criteria.

    Kind regards,
    Dimitar Milushev
    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.
Back to Top