Change only future recurrences

2 posts, 0 answers
  1. Andrew
    Andrew avatar
    14 posts
    Member since:
    Nov 2010

    Posted 08 Jun 2012 Link to this post

    Does the functionality exist somewhere to allow users to edit recurrences to change only dates past the date selected?
    If so, great... how?
    If not, is there a way to change the dialogue box that comes up after you edit a recurrence where it says "only this event" or "the series" to add one that says "this and all future events". That way I could programatically end the current series and create a new one going forward with the changes from a single prompt/.

    Thanks!
  2. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 11 Jun 2012 Link to this post

    Hello Andrew,

    You can build a custom condition based on the appointment's client API, and use it cancel conditionally OnClientAppointmentEditing:
    <script type="text/javascript">
            function OnClientAppointmentEditing(sender, args)
            {
                if([custom_condition])
                   args.set_cancel(true);
            }
        </script>
        <telerik:RadScheduler runat="server" ID="RadScheduler1" OnClientAppointmentEditing="OnClientAppointmentEditing">         
        </telerik:RadScheduler>



    Kind regards,
    Peter
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top