面向ASP的Telerik UI。NET MVC免费下载30天试用版

树视图拖放

当拖放功能被启用时,TreeView的节点可以在所有关卡中拖放。

该功能还提供工具提示,帮助用户指示节点将被删除的位置。

下面的示例演示如何为TreeView节点启用拖放功能。

@(Html.Kendo().TreeView() .Name("treeview") .DragAndDrop(true) .DataTextField("Name") .DataSource(dataSource => dataSource .Read(read => read .Action("Employees", "treeview")))).

另请参阅

在本文中
Baidu
map