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

Change only future recurrences

1 Answer 32 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Andrew
Top achievements
Rank 1
Andrew asked on 08 Jun 2012, 03:49 PM
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!

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 11 Jun 2012, 03:04 PM
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.
Tags
Scheduler
Asked by
Andrew
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or