Hi,
i'm currently using the AppointmentSaving event of the RadScheduleView for validation.
if the edited or created appointment does not contain the right values a MessageBox should be shown an the appointment should not be saved.
Unfortunatly the MessageBox only shows up for about half a second. The next time i create an appointment the messagebox shows up again, because the AppointmentSaving event is fired again.
As i searched the known bugs, i found that this should already be fixed, but i'm already using the newest dlls and it does not seem to work. Am i doing something wrong?!
thanks in advance!
i'm currently using the AppointmentSaving event of the RadScheduleView for validation.
if the edited or created appointment does not contain the right values a MessageBox should be shown an the appointment should not be saved.
Unfortunatly the MessageBox only shows up for about half a second. The next time i create an appointment the messagebox shows up again, because the AppointmentSaving event is fired again.
As i searched the known bugs, i found that this should already be fixed, but i'm already using the newest dlls and it does not seem to work. Am i doing something wrong?!
thanks in advance!
private void OnKalenderAppointmentSaving( object sender, AppointmentSavingEventArgs e ){ var appointment = (SedlakAppointment)e.Appointment; if( appointment.SelectedUser == null ) { e.Cancel = true; e.Handled = true; this.ViewModel.ShowError( "Cannot create an appointment without user"); } }