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

Drag & Drop & Sort

1 Answer 112 Views
ListView
This is a migrated thread and some comments may be shown as answers.
Paul
Top achievements
Rank 1
Paul asked on 10 Jun 2013, 07:58 PM
Hi,

I am trying to implement a web page where the user can upload x number of photos to web site and allow the user to sort the order of the photo by drag & drop. Because the user will also have to set number of attributes for each photo, I figure that ListView is perfect way to display the info and allow the user to drag entire cell to reorder. In each cell, it will be like this.

[Photo 1, attr 11, attr12] [Photo 2, attr 21, attr21]  [Photo 3, attr 31, attr32] 
[Photo 4, attr 41, attr44] [Photo 5, attr 51, attr52] 

I should be able to drag the photo to move entire cell and put it in different order.

How do I accomplish this? Can ListView handle this or sample code?


1 Answer, 1 is accepted

Sort by
0
Kostadin
Telerik team
answered on 13 Jun 2013, 01:17 PM
Hi Paul,

You could check out the following live example which demonstrates drag and drop functionality of the RadListView. Additionally if you decided to use RadGrid you could take a look at the following demo.

Regards,
Kostadin
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
ListView
Asked by
Paul
Top achievements
Rank 1
Answers by
Kostadin
Telerik team
Share this question
or