Drag & Drop & Sort

2 posts, 0 answers
  1. Paul
    Paul avatar
    15 posts
    Member since:
    Jan 2009

    Posted 10 Jun 2013 Link to this post

    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?


  2. Kostadin
    Admin
    Kostadin avatar
    1708 posts

    Posted 13 Jun 2013 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top