This is a migrated thread and some comments may be shown as answers.

RadGridView drag and Drop issue inside a scroll viewer

3 Answers 62 Views
DragAndDrop
This is a migrated thread and some comments may be shown as answers.
Thomas Mittag
Top achievements
Rank 1
Thomas Mittag asked on 10 Oct 2013, 05:50 PM
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

3 Answers, 1 is accepted

Sort by
0
Nick
Telerik team
answered on 11 Oct 2013, 06:57 AM
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 >>
0
Thomas Mittag
Top achievements
Rank 1
answered on 11 Oct 2013, 10:06 PM
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
0
Nick
Telerik team
answered on 14 Oct 2013, 10:39 AM
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 >>
Tags
DragAndDrop
Asked by
Thomas Mittag
Top achievements
Rank 1
Answers by
Nick
Telerik team
Thomas Mittag
Top achievements
Rank 1
Share this question
or