Drag and drop to gridview cell

5 posts, 0 answers
  1. Paul
    Paul avatar
    3 posts
    Member since:
    Jul 2010

    Posted 27 Jul 2010 Link to this post

    Hi,

    I have drag and drop working to your gridview control so that it adds another item to the grid perfectly. I am now trying to find out which particualr cell the user dropped to so I can add the payload of the drop to that particular cell. I cannot however find where to get which cell the user dropped to.

    Any help would be appreciated.

    Paul

    Edit: I should also add that I achieved the drag and drop using the RadDragAndDropManager
  2. Tsvyatko
    Admin
    Tsvyatko avatar
    833 posts

    Posted 29 Jul 2010 Link to this post

    Hello Paul,

    I have prepared sample application, demonstrating how to get the elements below the mouse. Please have a look at it and let me if this fits in your case. If you have any other questions or issues do not hesitate to contact us.

    Kind regards,
    Tsvyatko
    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. DevCraft banner
  4. gabor
    gabor avatar
    2 posts
    Member since:
    Mar 2011

    Posted 30 Mar 2011 Link to this post

    Hi,

    looking at the sample code I cannot understand one thing:
    The OnGridDropInfo does not seem to run on the mouseButtonUp event. I'd expect it to run in this case.
    Am I misunderstanding something?

    Thanks,
    Gabor
  5. Tsvyatko
    Admin
    Tsvyatko avatar
    833 posts

    Posted 30 Mar 2011 Link to this post

    Hello gabor,

     OnGridDropInfo is raised every time after OndropQuery approves (through e.QueryResult). More information about the Drag and Drop events can be found here - http://www.telerik.com/help/silverlight/raddraganddrop-events-overview.html

    Kind regards,
    Tsvyatko
    the Telerik team
  6. gabor
    gabor avatar
    2 posts
    Member since:
    Mar 2011

    Posted 30 Mar 2011 Link to this post

    Hi Tsvyatko,

    thanks, that's of great help.

    Cheers,
    Gabor
Back to Top
DevCraft banner