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

Getting RecurrenceRule string from the Edit Recurrence Dialog

1 Answer 46 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
Oliver
Top achievements
Rank 1
Oliver asked on 29 Oct 2012, 04:30 PM
Hello!

I use a non-Telerik form to add/edit Appointments.  I want to use Telerik's Edit Recurrence dialog instead of creating a whole new form like I did for adding/editing appointments.  I want to do something like:

EditRecurrenceDialog dialog = new EditRecurrenceDialog(appointment);
dialog.Show();

I would assume that once the dialog exits, I would be able to retrieve the recurrence rule from the appointment that I passed in's RecurrenceRule property, but the dialog closes right after it opens, and then returns a null exception when I access the RecurrenceRule property since I didn't get to create a recurrence rule with the form.  Any help would be appreciated!  Thanks!

1 Answer, 1 is accepted

Sort by
0
Oliver
Top achievements
Rank 1
answered on 29 Oct 2012, 04:56 PM
Solved... just needed to use ShowDialog() instead of Show() >.>
Tags
Scheduler and Reminder
Asked by
Oliver
Top achievements
Rank 1
Answers by
Oliver
Top achievements
Rank 1
Share this question
or