New to Telerik UI for WinFormsStart a free 30-day trial

Disabling or Replacing Recurrence Change Message in UI for WinForms Scheduler

Updated over 6 months ago

Environment

Product VersionProductAuthor
2025.2.520RadScheduler for WinFormsDinko Krastev

Description

When moving or changing a recurring appointment in UI for WinForms Scheduler, a warning message appears asking whether to modify the entire recurring appointment or a single occurrence. I want to disable this message or replace it with custom text.

Solution

To disable the recurrence change message, override the dragging behavior of the Scheduler using the following code:

C#

public SurroundingClass()
    {
        InitializeComponent();
        this.RadScheduler1.SchedulerElement.DragDropBehavior = new CustomDraggingBehavior(this.RadScheduler1.SchedulerElement);
    }

    public class CustomDraggingBehavior : AppointmentDraggingBehavior
    {
        public CustomDraggingBehavior(SchedulerVisualElement activeOwner) : base(activeOwner)
        {
        }

        protected override bool ValidateOccurrenceDropTarget(DateTime targetStartDate, DateTime targetEndDate, bool allDay)
        {
            return true;
        }
    }

Alternatively, replace the message text by specifying the RadSchedulerStringId.RecurrenceDragDropCreateExceptionDialogText string in the RadSchedulerLocalizationProvider. Refer to the Telerik documentation for localization and translating strings.

See Also