Prevent Dialogs from Opening
This article covers the following topics:
How to hide a RadScheduleView dialog
In order to prevent a specific dialog from appearing , the ShowDialog event of the RadScheduleView should be cancelled. The event args contain a property called DialogViewModel which can be used to determine which dialog is going to be opened.
For example the view model for the EditAppointmentDialog is AppointmentDialogViewModel. The following code snippet shows how it can be cancelled:
To learn more about RadScheduleView events, check here.
How to skip ConfirmDeleteDialog
In this case DefaultDialogResult property of the event args should be set in order to stimulate pressing OK/Cancel in the dialog. If DefaultDialogResult is set to “true”, the appointment will be directly deleted:
How to preselect a certain option in RecurrenceChoiceDialog
By default “Open/Delete the occurrence” option is selected in RecurrenceChoiceDialog. This can be changed in ShowDialog event by setting IsSeriesModeSelected property of the RecurrenceChoiceDialogViewModel:
Check here for more information about RadScheduleView dialogs.