[Solved] EditRecurrenceDialog OK button result is incorrect

1 Answer 10 Views
Scheduler and Reminder
Greg
Top achievements
Rank 1
Iron
Greg asked on 02 Aug 2026, 05:46 PM

I call the EditRecurrenceDialog dialog from a custom editappointment dialog from the buttonRecurrence button.

EditRecurrenceDialog os displayed correctly and I can edit as expected, I click the OK buttin and diag reult is NONE. Screen is reshown and I repeat making selections and click OK button again and result is now OK and rule is created.

Why does OK button result is None first time? Here is complete code for buttonRecurrence

Note:  customAppt is scheduler mapped fields and custom fields loaded in single object

    private void buttonRecurrence_Click(object sender, EventArgs e)
    {
        customAppt.RecurrenceRule = recurrenceRule;

        using (EditRecurrenceDialog recurrenceDialog = new EditRecurrenceDialog(customAppt))
            if (recurrenceDialog.ShowDialog() == DialogResult.OK)
            {
                var updatedRule = customAppt.RecurrenceRule;
                lblRecur.Text = updatedRule.ToString();
                recurrenceRule = customAppt.RecurrenceRule;
            }
    }

1 Answer, 1 is accepted

Sort by
0
Nadya | Tech Support Engineer
Telerik team
answered on 04 Aug 2026, 10:56 AM

Hello, Greg,

I can not say directly why OK button result is None the first time. I need to investigate and debug the code to determine what happens internally. I suppose that buttonRecurrence is a button inside your custom edit appointment dialog. Is it possible to provide to me with your custom implementation for the edit appointment dialog so I can have a better understanding of what you have on your side? I need to replicate the same setup to understand the specific case.

Thank you for your understanding.

Regards,
Nadya | Tech Support Engineer
Progress Telerik

Modernizing a WinForms application? Use the AI-powered WinForms Converter to simplify migration to Telerik UI for WinForms.
Greg
Top achievements
Rank 1
Iron
commented on 04 Aug 2026, 03:39 PM

Sure.  Tell me how to get it to you directly.? email is OK with me or....
Tags
Scheduler and Reminder
Asked by
Greg
Top achievements
Rank 1
Iron
Answers by
Nadya | Tech Support Engineer
Telerik team
Share this question
or