Question about drag and drop

1 posts, 0 answers
  1. C Bates
    C Bates avatar
    33 posts
    Member since:
    Oct 2009

    Posted 05 Oct 2009 Link to this post

    Requirements

    RadControls version 2009.2.812.1030

    .NET version 3.5

    Visual Studio version VS 2008

    programming language C#

    browser support IE8, FireFox 3.5

    all browsers supported by RadControls


    PROJECT DESCRIPTION
    Silverlight 3 project.
    We have a RadTabControl on our page.  The contents of the tab control include objects on a canvas.  The page registers drag and drop event handlers, for example:
                RadDragAndDropManager.AddDragQueryHandler(this, OnDragQuery);
    The objects (a Rectangle, for example) are registered to allow Drag and Drop:
                RadDragAndDropManager.SetAllowDrag(Rect, true);
    How can we get mouse events at the Canvas level?  We would like to allow the user to pan the view by dragging the canvas.  Similarly, we would like to use mouse wheel events.  We have registered the necessary event handlers, but LButtonDown, MouseMove, and MouseWheel events don't reach the Canvas.
    Thanks for any ideas...
Back to Top