Is it possible to re-order row items via drag-n-drop within a RadTreeList, without using a SQL DataSource? Currently, I bind using a generic list and would like to allow the user to re-order the RadTreeList before saving.
Thanks,
Patrick
1 Answer, 1 is accepted
0
Tsvetina
Telerik team
answered on 06 Jul 2012, 02:38 PM
Hello Patrick,
You can do reordering of RadTreeList with any kind of datasource, the thing is that if you do not use datasource controls set up for automatic updates, you need to reorder the underlying datasource manually.
You should intercept the server-side ItemDrop event of the control, and based on the infromation provided through the event arguments, reorder the datasource to reflect the changes.
Regards,
Tsvetina
the Telerik team
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 their blog feed now.