Hi,
I have drag/drop working ok from a grid to treeview node using this code:
function RadGrid1_OnRowDropping(sender, args) { if (currentNode) { var fld = $get("<%= nodeValueHiddenField.ClientID %>"); fld.value = currentNode.get_value(); args.set_destinationHtmlElement(fld); //args.set_destinationHtmlElement(fld.id);// Have tried both options
} else { args.set_cancel(true); }}currentNode gets set using mouseover/out of the treeview, fld is a valid reference to my <input type="hidden"/> field. Whenever the server side event is fired (by ajax) though, e.HtmlElement is always the string "undefined":
protected void RadGrid1_RowDrop(object sender, GridDragDropEventArgs e){ if ((!String.IsNullOrEmpty(e.HtmlElement)) && (e.DraggedItems.Count > 0))