Using recurrence dialog

2 posts, 1 answers
  1. Sandi Markon
    Sandi Markon avatar
    101 posts
    Member since:
    Jul 2012

    Posted 10 Apr 2012 Link to this post

    I would like to provide the following functionality:
    - there is a scheduleview
    - and a button

    When a user clicks on a button, Recurrence dialog should appear with values that I predefine in codebehind (but the user can change them). "New appointment" dialog is not needed and should be skipped, since Recurrence dialog provides all the needed functionality, and what it does not provide, will be set in codebehind. When Recurrence is set by user and the user clicks OK, the appointment with selected recurrences is saved and ideally user does not need to do anything else about it.

    If user then double-clicks on an appointment, again, he should not be allowed to edit the appointment, but only recurrences, so again, recurrence dialog should pop up.

    I've been looking in ways to do this, but solutions provided online are based on the old scheduler, which is no longer available, and use some objects and namespaces that are not available in scheduleview namespace.

    Is that functionality possible using the latest version (2012 Q1 with apr. 2nd build) and how?

  2. Answer
    Yana avatar
    4602 posts

    Posted 12 Apr 2012 Link to this post

    Hello Sandi,

    I am pasting the reply from the support ticket:

    EditRecurrenceDialog is designed in such a way that can be called only from the EditAppointmentDialog, the reason is that the appointment should be in Edit Mode in order to be able to edit its RecurrenceRule.  (that's why calling the EditRecurrenceRule command doesn't work in your case). So I am afraid that the needed scenario cannot be achieved - you should first open the EditAppointmentDialog.

    We're sorry for the inconvenience.

    Kind regards,
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top