Completed
Last Updated: 27 Mar 2023 06:39 by ADMIN
Release R1 2023 SP1
Maciej
Created on: 13 Dec 2022 12:43
Category: Scheduler/Reminder
Type: Bug Report
2
RadScheduler: RadSchedulerReminder doesn't update reminders when Appointment is moved to reminder interval

Use the following code: 

    Public Sub New()
        InitializeComponent()

        RadSchedulerReminder1.TimeInterval = 500

        Dim appointment As New Appointment(DateTime.Now.AddDays(-1), TimeSpan.FromHours(1), "A")
        appointment.Reminder = New TimeSpan(10000)
        Me.RadScheduler1.Appointments.Add(appointment)

        Dim appointment2 As New Appointment(DateTime.Now.AddHours(-2), TimeSpan.FromHours(1), "B")
        appointment2.Reminder = New TimeSpan(10000)
        Me.RadScheduler1.Appointments.Add(appointment2)

        RadSchedulerReminder1.StartReminderInterval = Date.Now.AddDays(-1)
        RadSchedulerReminder1.EndReminderInterval = Date.Now.AddDays(1)

    End Sub

    Private Sub RadForm1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
        RadSchedulerReminder1.StartReminder()

        RadScheduler1.ActiveViewType = SchedulerViewType.Week

    End Sub

Drag "A" on the same interval as "B". You will notice that the reminder dialog will continue to show only "B".

Attached Files:
1 comment
ADMIN
Dess | Tech Support Engineer, Principal
Posted on: 13 Dec 2022 12:55

Hi, Maciej,

Thank you for bringing this to our attention.

The possible solution that I can suggest is after dropping the appointment to a new location, restart the reminder:

        AddHandler Me.RadScheduler1.AppointmentDropped, AddressOf RadScheduler1_AppointmentDropped

    Private Sub RadScheduler1_AppointmentDropped(sender As Object, e As AppointmentMovedEventArgs)
        RadSchedulerReminder1.StopReminder()
        RadSchedulerReminder1.StartReminder()
    End Sub

I hope this helps.

Regards,
Dess | Tech Support Engineer, Principal
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.