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

Drag and Drop ASP List item to Telerik List

2 Answers 66 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Terri
Top achievements
Rank 1
Terri asked on 30 Jun 2010, 09:17 PM
Hello,

I had an inquiry into whether it is possible to drag and drop an item from a standard ASP.net List Control to a Telerik TreeView Control? If so, could you provide me some sample code or references in which I could follow to do this.

Thanks

2 Answers, 1 is accepted

Sort by
0
Nikolay Tsenkov
Telerik team
answered on 06 Jul 2010, 12:31 PM
Hi Terri,

Well, the default asp controls, doesn't have client-side API, so it will be pretty hard to achieve such a scenario.
And one can say that it's not even the easiest thing if you implement drag and drop between controls that have client-side js object representation.

My suggestion is - if you need a similar to listView control - use ours (RadListView)!
Also there is a sample for drag and drop with listView: http://demos.telerik.com/aspnet-ajax/listview/examples/itemdragdrop/defaultcs.aspx

Hope this is going to help you!


Regards,
Nikolay Tsenkov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Laurence
Top achievements
Rank 1
answered on 25 Jul 2013, 12:23 PM
I know this is an old thread but it turned up in a search I made and I didn't want anyone else to be put off.

It's actually relatively straightforward to add this functionality using jquery. You can approach it in exactly the same way you would handle drag/drop within an asp list, using dragover/dragend/dragleave/drop.  I'm currently looking at drag-drop in the other direction i.e. telerik list to asp list item, which I am anticipating may be more effort. 
Tags
TreeView
Asked by
Terri
Top achievements
Rank 1
Answers by
Nikolay Tsenkov
Telerik team
Laurence
Top achievements
Rank 1
Share this question
or