I am trying to drag a row from a Grid into a TreeView. After dropping the row, the OnRowDrop event is fired.
If I drop the row on an <img> or <asp:button> the GridDragDropEventArgs e.HtmlElement of OnRowDrop will return with the Id of the control. However when dropping the row on a TreeView node the argument e.HtmlElement is always undefined.
I have refered to this article as a reference. If I set the the destinationHtmlElement using the method args.set_destinationHtmlElement on the client side before the OnRowDrop event is fired, the argument e.HtmlElement is still undefined when OnRowDrop event is fired.
Is there another way to drop a GridRow into a TreeView?
If I drop the row on an <img> or <asp:button> the GridDragDropEventArgs e.HtmlElement of OnRowDrop will return with the Id of the control. However when dropping the row on a TreeView node the argument e.HtmlElement is always undefined.
I have refered to this article as a reference. If I set the the destinationHtmlElement using the method args.set_destinationHtmlElement on the client side before the OnRowDrop event is fired, the argument e.HtmlElement is still undefined when OnRowDrop event is fired.
Is there another way to drop a GridRow into a TreeView?