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

RadGrid Drag and Drop Sorting

1 Answer 165 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Adonis
Top achievements
Rank 1
Adonis asked on 29 Jan 2011, 08:33 PM
Hello ,
 I have a RadGrid that I am populating via Drag and Drop From another RadGrid , I would like to sort in the Grid that is being populated by drag and drop but upon clicking a column to sort the items in the grid are removed.

how can sorting be accomplished in this grid?

1 Answer, 1 is accepted

Sort by
0
Accepted
Martin
Telerik team
answered on 03 Feb 2011, 08:56 AM
Hello Adonis,

You need to ensure that after an item is dropped into the destination grid, all the data from that item is saved into the destination grid's data source. This is required because when sorting operation is performed, the grid will be rebound and if the data is not saved and empty grid will be displayed.

I have attached a modified version of our online drag and drop example, with sorting enabled. Please review it and verify whether it works as expected on your side.

Kind regards,
Martin
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Grid
Asked by
Adonis
Top achievements
Rank 1
Answers by
Martin
Telerik team
Share this question
or