Scheduler Edit Dialog Execution Flow

2 posts, 0 answers
  1. Chris Scallion
    Chris Scallion avatar
    9 posts
    Member since:
    Jun 2010

    Posted 02 Jul 2010 Link to this post

    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.

  2. Dobry Zranchev
    Dobry Zranchev avatar
    349 posts

    Posted 08 Jul 2010 Link to this post

    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
Back to Top