This question is locked. New answers and comments are not allowed.
Is it possible you could find an example of dragging from one treeview and dropping into another? I'm trying to do that currently with data bound grids (placing users into categories) and will post back the result. Here is my current code...
I can get to the point where I can drag one to the other, and the (+) icon shows up - but it drops at the bottom of the tree. Any ideas?
<% Html.Telerik().TreeView() .Name("AccountsUnmapped") .DragAndDrop(settings => settings .DropTargets(".drop-area")) .BindTo(Model, mappings => { mappings.For<Account>(binding => binding .ItemDataBound((treeItem, account) => { treeItem.Text = account.AccountName; treeItem.Value = account.AccountListID; treeItem.Expanded = true; }) .Children(account => account.Children)); }) .HtmlAttributes(new { style = "font-size:0.9em; height: 600px; overflow:auto;" }) .ClientEvents(e => e.OnNodeDrop("onAccountMapNodeDrop") ) .Render();%> <% Html.Telerik().TreeView() .Name("Category") .BindTo(AccountMapCategory.GetAllCategories(),mappings => { mappings.For<AccountMapCategory>(binding => binding .ItemDataBound((treeItem, category) => { treeItem.Text = category.CategoryName; treeItem.Value = category.CategoryId.ToString(); treeItem.Expanded = true; }) .Children(category => category.Children)); }) .HtmlAttributes(new { @class = "drop-area" })I can get to the point where I can drag one to the other, and the (+) icon shows up - but it drops at the bottom of the tree. Any ideas?