Hello Chad,
I am not sure I completely understand your scenario, however, there are two possibilities:
Since you inherit from the default
EditAppointmentDialog, you might want to prevent it from showing and display your dialog instead. This can be achieved by handling the
AppointmentEditDialogShowing event of
RadScheduler:
In the other case, if you are showing your dialog manually (for example, on a button click), then you should also add the newly created appointment manually to the scheduler. You can do this by using
RadScheduler's
Appointments collection:
In case the form inherits from
EditAppointmentDialog, you can call its
EditAppointment method before displaying it and it should handle these operations automatically:
If you pass
null as first argument to the
EditAppointment method, the dialog will create a new appointment. If you pass an existing appointment instead of null, the dialog will edit this appointment.
I hope this is useful. In case this does not cover your scenario, please send me with a more detailed explanation of your requirements. This will let me provide you with accurate answers.
Do not hesitate to ask if you have any additional questions.
Best wishes,
Ivan Todorov
the Telerik team
Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward!
We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>