Hi,
I have a form with an UltraDayView in it which i add appointments to it.
Whenever i want to drag an appointment - it doesn't allow me to drag if i'm not on a certain area of the appointment.
see the attached picture.
What am i missing?
Thanks,
Ziv
Hi Ziv,
The easiest way to do this is to use the Office 2007 View Style. You can apply this style by adding an UltraCalendarLook to your form and setting the ViewStyle property to Office2007.
Drop an UltraCalendarLook onto the form in the designer and add this code:
ultraCalendarLook1.ViewStyle = ViewStyle.Office2007;ultraDayView1.CalendarLook = ultraCalendarLook1;
Please let me know if this works for you.
Hi Mike,
Thanks for the quick answer, but unfortunately we don't want to change the view style of the specific screen as it would collide with what we have right now on the system.
Is there another way to make the appointment "draggable" from everywhere on it and not just the side?
You can do this by adding the appointment to the CalendarInfo's SelectedAppointments collection when the user starts dragging it. I included a sample that shows you how you can accomplish this.
Please let me know what you think.