Disable editing current occurrence for recurring appointment

2 posts, 0 answers
  1. Sam
    Sam avatar
    1 posts
    Member since:
    Feb 2016

    Posted 24 Feb Link to this post

    I need to prevent some users from modifying current occurrence of recurring appointment. I've built scheduler_edit function but now adding new appointments is also disabled. How to distinguish between them? I've also tried using e.event.isNew() but it didn't work because event is new in both current occurrence and adding new appointment.

  2. Plamen
    Admin
    Plamen avatar
    2731 posts

    Posted 25 Feb Link to this post

    Hi,

    You can also check if the event is  e.event.isRecurring() that will make the difference between the two cases.

    Regards,
    Plamen
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
  3. UI for ASP.NET MVC is VS 2017 Ready
Back to Top