3 Answers, 1 is accepted
0
Hello Scapi,
Could you please elaborate some more on your particular scenario? Any snapshots, examples on the desired outcome will be greatly appreciated.
Regards,
Boris Penev
Telerik
Could you please elaborate some more on your particular scenario? Any snapshots, examples on the desired outcome will be greatly appreciated.
Regards,
Boris Penev
Telerik
Check out the new Telerik Platform - the only modular platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native apps. Register for the free online keynote and webinar to learn more about the Platform on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT).
0
Saqib
Top achievements
Rank 1
answered on 17 Feb 2014, 05:50 PM
Hello Boris,
Thanks for your reply.
I have attached a screen shot which is showing a place holder when dragging after / before, i want to achieve similar to that. and also want to add item to any specific location in the tree view, lets say add an item next to selected item.
Regards,
Saqib
Thanks for your reply.
I have attached a screen shot which is showing a place holder when dragging after / before, i want to achieve similar to that. and also want to add item to any specific location in the tree view, lets say add an item next to selected item.
Regards,
Saqib
0
Hello Saqib,
As far as I understood what you have in mind you need to be able to drag and drop RadTreeViewItems before / after other TreeViewItems. In order to do that you need to set the IsDragDropEnabled property to "True", by doing so you activate the built-in support for DragDrop in the RadTreeView.
Please note that if you are using a data-bound RadTreeView you may need to implement custom drag and drop logic in order to copy your business items (like it's shown in the SDK example).
More information about the DragDrop feature of the RadTreeView you can find in the following articles:
As for the second part of your question where you mention that you need to add for example an item next to the select one, is this somehow related to the drag drop process or it is a separate requirement that can be performed programmatically ?
Regards,
Boris Penev
Telerik
As far as I understood what you have in mind you need to be able to drag and drop RadTreeViewItems before / after other TreeViewItems. In order to do that you need to set the IsDragDropEnabled property to "True", by doing so you activate the built-in support for DragDrop in the RadTreeView.
Please note that if you are using a data-bound RadTreeView you may need to implement custom drag and drop logic in order to copy your business items (like it's shown in the SDK example).
More information about the DragDrop feature of the RadTreeView you can find in the following articles:
- Drag and Drop
- DragDropTreeViewToControls SDK Example
- You can also check out the Drag and Drop section under How To in the RadTreeView documentation
As for the second part of your question where you mention that you need to add for example an item next to the select one, is this somehow related to the drag drop process or it is a separate requirement that can be performed programmatically ?
Regards,
Boris Penev
Telerik