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

Drag Drop Issue

3 Answers 53 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Matt
Top achievements
Rank 2
Matt asked on 11 Jun 2012, 01:10 PM
An automated exception report from one of our users contained an ArgumentNull_Generic exception with a stack trace of:

at Telerik.Windows.Controls.ChildrenOfTypeExtensions.

on drag / drop, likely with the grid. Is this a Telerik issue? Is this a problem with our code? This is not something we've encountered before and would like to resolve if possible.

3 Answers, 1 is accepted

Sort by
0
Nick
Telerik team
answered on 12 Jun 2012, 08:45 AM
Hi Matt,

Would it be possible to share some more details(implementation, exact actions when the problem can be observed, sample project would be great) about the scenario in which this issue occurs?

Thank you in advance!  

All the best,
Nik
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Matt
Top achievements
Rank 2
answered on 12 Jun 2012, 01:19 PM
Unfortunately, I don't have a lot of details on things as this was just an automated exception report without any repro steps.

This is a RadTreeGridView with IsDragDropEnabled true, IsDragTooltipEnalbed false, IsDropPreviewLineEnabled true, DropElementAction of None. This is using Q2 2011 SP1.

I'm not using the hierarchy features of the TreeGridView due to the many bugs and poor performance I encountered with Telerik's RadTreeGridView control that went unresolved far too long and instead do my own hide / expand logic by inserting / removing rows manually. This is unrelated to this issue, but worth mentioning since the control is technically a TreeGridView.

I support drag / drop to re-order items inside of the grid by looking at DropInfo and DropQuery for the grid. I also support dragging and dropping objects from a sidebar onto individual rows to affect properties on those rows.

From the stack trace, it looks to me that this issue occurs the first time someone tried to drag a row in the grid, but I don't know.
0
Nick
Telerik team
answered on 15 Jun 2012, 08:29 AM
Hi Matt,

Unfortunately we were not able to reproduce the issue, based on the provided information. Would it be possible to share at least the implementation of the Drag and Drop scenario? Also, have you tried the scenario with a newer version of our product? Does the issue occur even then? 

Looking forward to your response! 

All the best,
Nik
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
GridView
Asked by
Matt
Top achievements
Rank 2
Answers by
Nick
Telerik team
Matt
Top achievements
Rank 2
Share this question
or