Does anyone have an sample project using the RadGridView reorder rows and saving to the db with RIA domainservice?
1 Answer, 1 is accepted
0
Milan
Telerik team
answered on 05 Dec 2010, 09:39 PM
Hello UGH!!,
I am afraid that we do not have such sample yet but here are some tips that might help you with your task. Since rows in a database are not stored in any particular order you should devise a way to preserve their order. For example, you can add a new property (Order) to your data items which will indicate the order of an item.
Once you have this property you can add a SortDescriptor for that property so that the items appear in the correct order. When a row is reordered its Order property should be updated.
Regards,
Milan
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight