From what I've read on the forum, no DrapDrop events are fired for the UltraMonthViewSingle control(?) Regardless, the control allows you to select existing appointments and drag them to any other day cell. Two questions, is there any way to disable this, so appointments cannot be dragged? If not, is there event at all that I can trap after the drapdrop into a new day so I can examine the moved appointment(s)?
ActivitiesDragComplete is what i use for seeing this action. On the mouse click down i do a
private void _monthView_MouseDown(object sender, MouseEventArgs e) { if (this._monthView.GetAppointmentFromPoint(e.X, e.Y) != null) { _selectedAppointment = this._monthView.GetAppointmentFromPoint(e.X, e.Y); _selectedAppointment.Selected = true; } else _selectedAppointment = null; }
to set the select appointment value so i can then update the database with the new dates.
Awesome - perfect. Thank you.