Customer Recurrence Dialog

2 posts, 0 answers
  1. Tinus
    Tinus avatar
    23 posts
    Member since:
    Jun 2012

    Posted 29 Aug 2012 Link to this post


    I tried to create and use a custom Recurrence Dialog derived from EditRecurrenceDialog. I've not found a factory like IAppointmentFactory for appointment dialogs so I tried to use the derived dialog directly in the event handler:

    private void radScheduler1_RecurrenceEditDialogShowing(object sender,
    Telerik.WinControls.UI.RecurrenceEditDialogShowingEventArgs e)
      e.RecurrenceEditDialog = new MyRecurrenceDialog(e.Appointment);

    But it always shows the standard dialog layout. What I'm doing wrong?
  2. Ivan Todorov
    Ivan Todorov avatar
    688 posts

    Posted 30 Aug 2012 Link to this post

    Hello Tinus,

    Thank you for writing.

    The IAppointmentFactory provides interface for appointment factories and is not related anyhow to the dialogs. You should implement and use such factory only if you are adding custom fields to the appointments (e.g. you are inheriting from the Appointment class).

    As to showing custom EditRecurrenceDialog, the event handler you have posted seems correct and I am not sure if there is something else you are missing. I am attaching a small sample project which demonstrates the implementation of such scenario. Hope you find it useful.

    Please let me know if you need further assistance.

    All the best,
    Ivan Todorov
    the Telerik team
    RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
  3. DevCraft R3 2016 release webinar banner
Back to Top