Hi
I have a Radgrid and I have drag and drop enabled for this grid.
Whenever I try to drag a nonselected row and drop then all the other rows which are in between the dragged point and dropped point are getting selected. But I want just that one particular row to be dragged.Did any one see this issue. I attached a image how it is being done.
Any help is much appreciated. These are the events I see.
Telerik.windows.controls.gridview.selection.selectiondrag.tryselectrowundermouse(bool scrolladjusted)
Telerik.windows.controls.gridview.selection.selectiondrag.tryselectelementundermouse(bool scrolladjusted)
I am handling these events
DragDropManager.AddDragInitializeHandler(this.AssociatedObject, OnDragInitialize);
DragDropManager.AddGiveFeedbackHandler(this.AssociatedObject, OnGiveFeedback);
DragDropManager.AddDropHandler(this.AssociatedObject, OnDrop);
DragDropManager.AddDragDropCompletedHandler(this.AssociatedObject, OnDragDropCompleted);
DragDropManager.AddDragOverHandler(this.AssociatedObject, OnDragOver);
In the attached image I tried to drag no 3 and drop it at no 7. But all the other rows in between are selected while dragging.
Any help is much appreciated.
Thanks
Rakesh
I have a Radgrid and I have drag and drop enabled for this grid.
Whenever I try to drag a nonselected row and drop then all the other rows which are in between the dragged point and dropped point are getting selected. But I want just that one particular row to be dragged.Did any one see this issue. I attached a image how it is being done.
Any help is much appreciated. These are the events I see.
Telerik.windows.controls.gridview.selection.selectiondrag.tryselectrowundermouse(bool scrolladjusted)
Telerik.windows.controls.gridview.selection.selectiondrag.tryselectelementundermouse(bool scrolladjusted)
I am handling these events
DragDropManager.AddDragInitializeHandler(this.AssociatedObject, OnDragInitialize);
DragDropManager.AddGiveFeedbackHandler(this.AssociatedObject, OnGiveFeedback);
DragDropManager.AddDropHandler(this.AssociatedObject, OnDrop);
DragDropManager.AddDragDropCompletedHandler(this.AssociatedObject, OnDragDropCompleted);
DragDropManager.AddDragOverHandler(this.AssociatedObject, OnDragOver);
In the attached image I tried to drag no 3 and drop it at no 7. But all the other rows in between are selected while dragging.
Any help is much appreciated.
Thanks
Rakesh