Not centering cursor when dragging objects

3 posts, 0 answers
  1. duster
    duster avatar
    4 posts
    Member since:
    Nov 2010

    Posted 04 Jan 2011 Link to this post

    hi, i was using the drag and drop manager for my silverlight project, but whenever i click on an object to drag it, the control automatically centers the cursor on the object i'm dragging. is there a way to drag items from the exact point that the user clicks on instead? i cant seem to find a workaround for this.
  2. Tsvyatko
    Admin
    Tsvyatko avatar
    833 posts

    Posted 05 Jan 2011 Link to this post

    Hi duster,

    By default drag cue positioning logic includes setting the position according the relative click point. It uses it whenever the click point is within the boundaries of the the opened drag cue. However, if the drag cue is smaller than the element being dragged and drag starts outside the drag cue bounderies the cue is positioned.

    Please, check the attached project demonstrating the behavior and let me know if this helps in your case.

    All the best,
    Tsvyatko
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
  3. DevCraft banner
  4. duster
    duster avatar
    4 posts
    Member since:
    Nov 2010

    Posted 05 Jan 2011 Link to this post

    that worked perfectly, thanks a lot!
Back to Top