How can I implement drag and drop function for Treeview in webpart

Chien VH asked on December 5, 2014 11:41

Hi all,

Now I want to create a page, on that page I want to display 2 panels. Panel 1 contains the treeview menu. Panel 2 uses to show the detail contents of each section was selected in left panel. On the left panel, I load the data from a database for that tree and I want each node of tree able to drag and drop to re-order. So, do you think kentico will support my requirement? Image Text

Recent Answers

Brenden Kehren answered on December 5, 2014 13:25

So you want the same functionality that Kentico is using for the Content Tree in your own page? I'm guessing you could use the same controls and such that they have implemented but you'd have to dig around to see how it is all working before implementing it.

0 votesVote for this answer Mark as a Correct answer

Chien VH answered on December 5, 2014 16:33

You're right here Brenden. So, do you have any link for my refer?

0 votesVote for this answer Mark as a Correct answer

Juraj Ondrus answered on December 6, 2014 11:34


In the content tree a JavaScript and jQuery is used for this functionality and it is then invoking appropriate code API to perform the changes. This could be pretty complex - it may be easier to either developer custom web part or integrate some third party one.

Best regards,
Juraj Ondrus

1 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.