No Drag from a node's Image

3 posts, 1 answers
  1. Ian
    Ian avatar
    61 posts
    Member since:
    Jul 2010

    Posted 02 Apr 2011 Link to this post

    Hi Richard

    I've noticed that it is not possible to start a drag operation on a node if the mouse is used "NodeMouseDown" on the image in the node; the text of the node must be "NodeMouseDown" for the drag to start.

    Do you know if this is a kown issue or is it related to the extra checkbox you helped me put onto my custom node the other day. I was speculating that the extra item in the element tree was screwing with the event somehow?

    My NodeMouseDown event looks like this

    private void tvAlphaWorkspace_NodeMouseDown(object sender, RadTreeViewMouseEventArgs e)
    {
        if (Control.MouseButtons == MouseButtons.Right)
        {
            workspaceContextNode = (RadCustomTreeNode)e.Node; 
        }
        if (Control.MouseButtons.Equals(MouseButtons.Left))
        {
            workspaceDragNode = null;
            workspaceDragNode = (RadCustomTreeNode)e.Node;
            workspaceDrag = true;
            if (workspaceDragNode.Text != "Executables")
            {
                tvAlphaWorkspace.DoDragDrop(workspaceDragNode.Tag, DragDropEffects.Copy);
            }
            else
            {
                workspaceDragNode = null;
                workspaceDrag = false;
            }
        }
    }
  2. Answer
    Svett
    Admin
    Svett avatar
    728 posts

    Posted 07 Apr 2011 Link to this post

    Hi Ian,

    I managed to reproduce the issue with the supplied information. It will be addressed in the upcoming release due in the mid-April. 

    I updated your Telerik points.

    Best wishes,
    Svett
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Ian
    Ian avatar
    61 posts
    Member since:
    Jul 2010

    Posted 07 Apr 2011 Link to this post

    Hi Svett

    No worries. I will wait for the service pack later this month.

    regards
    Ian
Back to Top