Getting RecurrenceRule string from the Edit Recurrence Dialog

2 posts, 0 answers
  1. Oliver
    Oliver avatar
    17 posts
    Member since:
    Aug 2008

    Posted 29 Oct 2012 Link to this post

    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!
  2. Oliver
    Oliver avatar
    17 posts
    Member since:
    Aug 2008

    Posted 29 Oct 2012 Link to this post

    Solved... just needed to use ShowDialog() instead of Show() >.>
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top