Hi,
After a successful drag and drop operation that creates a new appointment, and based on some logic, we call the following function to manually force open the Edit Appointment Dialog Box so we can collect some additional attributes:
We're then capturing the Ok and Cancel buttons to do some validation of the newly created appointment.
We have 2 issue that we'd like your valuable help on:
1) If the user presses the Cancel button, we'd like to remove the newly created appointment, but since the appointment has been created already, we need to delete it, so we're calling the following command:
The appointment is getting deleted, but the Confirm Delete dialog box is showing. Is there a way to NOT show this Confirm Dialog in this case?
2) If the user instead of the Ok or Cancel buttons presses the dialog "x" button, we could not capture this action to do any validation. Is there any way to capture this "x" event? Or, Does this "x" fire any event that we could hook into? Or, Can we disable this "x" button?
Thanks as always
Salah A. Malaeb
TeknoBuild
After a successful drag and drop operation that creates a new appointment, and based on some logic, we call the following function to manually force open the Edit Appointment Dialog Box so we can collect some additional attributes:
scheduleView.Dispatcher.BeginInvoke(() => { RadScheduleViewCommands.EditAppointment.Execute(proApp, scheduleView); });
We have 2 issue that we'd like your valuable help on:
1) If the user presses the Cancel button, we'd like to remove the newly created appointment, but since the appointment has been created already, we need to delete it, so we're calling the following command:
ScheduleView.Dispatcher.BeginInvoke(() => { RadScheduleViewCommands.DeleteAppointment.Execute(proApp, ScheduleView); });
2) If the user instead of the Ok or Cancel buttons presses the dialog "x" button, we could not capture this action to do any validation. Is there any way to capture this "x" event? Or, Does this "x" fire any event that we could hook into? Or, Can we disable this "x" button?
Thanks as always
Salah A. Malaeb
TeknoBuild