Hi,
I' ve got the following problem:
In my application there is a window which includes a scheduleview on the left side and a treeview on the right side. The scheduleview itself is inside a user control. In the scheduleview there exist some appointments.
This scenario should work, but currently doesn't:
I select one treeview item and start a drag drop operation. If I am over an appointment in the scheduleview some conditions between the appointment and the treeview item should be checked.
Currently nothing works: I start dragging the treeview item. As soon as I am over the scheduleview, a "forbidden" symbol appears, and nothing more happens.
I've implemented following:
DragQuery works, but I never reach DropInfo or DropQuery. What am I doing wrong? I have to say, that a treeview item is NOT of type Appointment.
In RadScheduler, the procedure described above worked perfectly.
Please respond soon.
Thanks
I' ve got the following problem:
In my application there is a window which includes a scheduleview on the left side and a treeview on the right side. The scheduleview itself is inside a user control. In the scheduleview there exist some appointments.
This scenario should work, but currently doesn't:
I select one treeview item and start a drag drop operation. If I am over an appointment in the scheduleview some conditions between the appointment and the treeview item should be checked.
Currently nothing works: I start dragging the treeview item. As soon as I am over the scheduleview, a "forbidden" symbol appears, and nothing more happens.
I've implemented following:
RadDragAndDropManager.SetAllowDrag(treeview,true);RadDragAndDropManager.AddDragInfoHandler(treeview, new EventHandler<DragDropEventArgs>(OnDrag)); RadDragAndDropManager.AddDragQueryHandler(treeview,new EventHandler<DragDropQueryEventArgs>(OnDragQuery)); RadDragAndDropManager.AddDropQueryHandler(scheduleView, new EventHandler<DragDropQueryEventArgs>(OnDropQuery)); RadDragAndDropManager.AddDropInfoHandler(scheduleView, new EventHandler<DragDropEventArgs>(OnDropInfo)); RadDragAndDropManager.SetAllowDrop(scheduleView,true);DragQuery works, but I never reach DropInfo or DropQuery. What am I doing wrong? I have to say, that a treeview item is NOT of type Appointment.
In RadScheduler, the procedure described above worked perfectly.
Please respond soon.
Thanks