My suggestion is to use the DialogClosing
event instead of
in order to check for issues with the Appointment. This way you will be able to keep the EditAppointmentDialog open as needed. Please check the example below, in which the user won't be able to confirm the Dialog if the Subject field is empty:
sender, CancelRoutedEventArgs e)
var eventArgs = e
var scheduleView = sender
"Subject cannot be empty!"
Hope this helps.
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>