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

Scheduler Edit Dialog Execution Flow

1 Answer 64 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
Chris Scallion
Top achievements
Rank 1
Chris Scallion asked on 02 Jul 2010, 04:16 PM
We are creating a custom appointment editor dashboard that implements the IEditAppointmentDialog interface. We are not interested in inheriting from the stock dialog form however; this application addresses a business need that requires a highly customized UI for our custom Appointment derived type, and the limitations of inheriting fromt the stock form are not acceptable for this situation.

That said, casual object browser inspection of the EditAppointmentDialog lets us see that the Appointment is passed to the editor dialog by value via the Edit Appointment function. We were actually expecting that to be a reference. What we need to know, then, is what mechanism is used to pass the edited IEvent back to the Scheduler control?

Even better would be a simple overview of the the edit dialog flow. I know we could go look at the source, but if its a fairly simple then I'd rather not have to dig.



1 Answer, 1 is accepted

Sort by
0
Dobry Zranchev
Telerik team
answered on 08 Jul 2010, 09:24 AM
Hi Chris Scallion,

Thank you for writing.
 
When you implement the IEditAppointmentDialog interface, you are responsible for adding the appointments to the Appointments collection of RadScheduler. As you have noticed, this interface has a method EditAppointmentDialog with parameters schedulerdata object (where you should pass a RadScheduler instance) and the newly created appointment. This method is called when you pass the custom dialog to the OnAppointmentEditDialogShowing.
 
I hope this information will help you. We will consider updating the documentation of RadScheduler with the appropriate example.

If you have other questions, feel free to contact us.

Sincerely yours,
Dobry Zranchev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Scheduler and Reminder
Asked by
Chris Scallion
Top achievements
Rank 1
Answers by
Dobry Zranchev
Telerik team
Share this question
or