This question is locked. New answers and comments are not allowed.
I am attempting to allow the user to drag a column off of a grid and drop it. My goal is to allow them to "remove" the column from the gridview. I setup the following in the constructor of my containing usercontrol.
| this.AddHandler(RadDragAndDropManager.DragQueryEvent, new EventHandler<DragDropQueryEventArgs>(OnDragQuery), false); |
| this.AddHandler(RadDragAndDropManager.DropQueryEvent, new EventHandler<DragDropQueryEventArgs>(OnDropQuery), false); |
| this.AddHandler(RadDragAndDropManager.DragInfoEvent, new EventHandler<DragDropEventArgs>(OnDragInfo), false); |
| this.AddHandler(RadDragAndDropManager.DropInfoEvent, new EventHandler<DragDropEventArgs>(OnDropInfo), false); |
Of interest is I do get a drag query when I drag, but it appears that this is dragging my usercontrol and not the column. I would have liked to get a DropQuery.
Is there a way to figure out that a Column has been dragged out of the grid (which i would interpret as a 'remove column')?