RadGridView drag and Drop issue inside a scroll viewer

4 posts, 0 answers
  1. Thomas Mittag
    Thomas Mittag avatar
    19 posts
    Member since:
    Jun 2008

    Posted 10 Oct 2013 Link to this post

    I have a rather complex view in my application which contains several grids with Row Detail Templates.
    one of the Grids contains another grid inside of the RowDetailsTemplate with a requirement to order the rows inside the sub-grid using drag and drop.
    I implemented the drag and drop code shown in the Silverlight Demos for GridViews. The issue I have encountered is the following:

    The grid with the drag and drop sub-grid is in the lower part of the view, so the user has to scroll to it. Whenever I initiate the Drag logic the scroll viewer of the parent view jumps to the top position and is stuck there until the view is reloaded.

    Any suggestions on what I could do about this?

    Regards
    Thomas
  2. Nick
    Admin
    Nick avatar
    593 posts

    Posted 11 Oct 2013 Link to this post

    Hi Thomas,

    This seems very strange. We haven't encountered this issue before. May I ask you to prepare a small sample where we can reproduce the issue and send it via support ticket get this issue resolved in the shortest terms.

    Thank you in advance! 

    Regards,
    Nik
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. DevCraft banner
  4. Thomas Mittag
    Thomas Mittag avatar
    19 posts
    Member since:
    Jun 2008

    Posted 11 Oct 2013 Link to this post

    I believe I figured out the issue.

    It looks like the issue was caused by the Mouse Left Down event bubbling up to the scroll viewer. When I set the event to handled in the grid inside the ScrollViewer, it appears that the drag and drop is working correctly.

    Thanks
    Thomas Mittag
  5. Nick
    Admin
    Nick avatar
    593 posts

    Posted 14 Oct 2013 Link to this post

    Hi Thomas,

    I am glad you resolved the problem. 

    Regards,
    Nik
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
Back to Top