我有asp.net ajax网站和这两个控件。我想把FileExplorer中的文件名放到treeview中。事件正在触发,但不知何故没有关于目的地的信息。看起来get_htmlElement不存在。
window.onFileExplorerMove = function (sender, args) {
//get the html element on which the node is dropped
var target = args.get_htmlElement; //null
}对于treeview事件,如下所示:
protected void RadTreeView1_NodeDrop(object sender, RadTreeNodeDragDropEventArgs e)
{..}但是对于FileExplorer的下降或移动会有什么影响呢?
我可以从列表框等地方做,但是FileExplorer给了我困难的时间。有什么想法吗?
发布于 2016-02-15 01:58:54
好吧,我想出来了:
protected void RadFileExplorer1_ItemMove(object sender, RadFileExplorerEventArgs e)
{
string command = e.Command;
if (e.Command == "MoveFile")
{
//etc
}
}https://stackoverflow.com/questions/35384990
复制相似问题