We are using Flytreeview version V 4.3.6.119.
We need drag&drop function to move/copy node. We use also SelectedNodeChanged event to update a Dridview.
When we begin drag&drop(mousedown), It first trigger SelectedNodeChanged event , so the Gridview updated (which is not we wanted).Then it continues to perform drag&drop operation. The code is as following:
Padding="7px" DrawLines="true" FadeEffect="true" PostBackOnSelect="true" PostBackOnDeselect="false"
PostBackOnClick="false" SelectNodeOnRightClick="false" ContentClickExpands="true"
OnSelectedNodeChanged="flyTreeView_SelectedNodeChanged" OnPopulateNodes="flyTreeView_PopulateNodes"
DragDropName="treeviewnode" DragDropAcceptNames="treeviewnode, dragname" RootDragDropAcceptNames="treeviewnode,dragname"
PostBackOnDropAccept="true" OnNodeMoved="flyTreeView_NodeMoved" OnInsertCallbackNodesFromValue="flyTreeView_InsertCallbackNodesFromValue">
RowHeight="16px" Padding="1px;4px;4px;1px" />
BorderWidth="1px" ForeColor="White" Padding="0px;3px;3px;0px" />
How kan we distinguish between a drag&drop and a left click ? It seems both trigger mousedown event, which fire SelectedNodeChanged event.
How can we drag&drop without fire SelectedNodeChanged event?
Thanks in advance.