This is a migrated thread and some comments may be shown as answers.

[Solved] Drag & Drop row in RADGRID

1 Answer 90 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mahendra s
Top achievements
Rank 1
Mahendra s asked on 19 Nov 2009, 12:49 PM
Hi

I have 2 image buttons  in <CommandItemTemplate> of Radgrid
-    UP button to move the selected row from its current position
-    DOWN button to move the selected row

I would like to hook the OnRowDrop event handler to the click events of the 2 buttons

The drag & drop functionality mentioned in the demo is working for me
But i would like to also use the alternate way by using the 2 buttons

thanks
Mahendra

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 20 Nov 2009, 02:19 PM
Hello Mahendra,

In order to achieve this scenario, I suggest you check on button click if there is selected item in the first grid. If so you should delete the selected record from the data source of the first grid and add it to the data source of the second grid, then Rebind() it.

I hope it gets you started properly.

Sincerely yours,
Pavlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Grid
Asked by
Mahendra s
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or