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

Using recurrence dialog

1 Answer 56 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Sandi Markon
Top achievements
Rank 1
Sandi Markon asked on 10 Apr 2012, 08:39 AM
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?

Thanks!

1 Answer, 1 is accepted

Sort by
0
Accepted
Yana
Telerik team
answered on 12 Apr 2012, 09:42 AM
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,
Yana
the Telerik team

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

Tags
ScheduleView
Asked by
Sandi Markon
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or