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

Exception from RadDragAndDropManager

3 Answers 55 Views
DragAndDrop
This is a migrated thread and some comments may be shown as answers.
Allan Elder
Top achievements
Rank 1
Allan Elder asked on 04 Sep 2009, 06:30 PM
From line 1148 in RadDragAndDropManager.cs in the source  of 08/13

if (el.VisualHit != null && (el.VisualHit as UIElement).IsHitTestVisible)


System.Windows.Media.DrawingVisual doesn't inherit from UIElement, so the as returns null and we get an exception.

3 Answers, 1 is accepted

Sort by
0
Allan Elder
Top achievements
Rank 1
answered on 04 Sep 2009, 06:35 PM
Also, I submitted a bug report for this

Support ticket 240461
0
Valentin.Stoychev
Telerik team
answered on 07 Sep 2009, 09:02 AM
Hello Allan Elder,

As noted in the BR - the issue is fixed in the internal builds.

Sincerely yours,
Valentin.Stoychev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Allan Elder
Top achievements
Rank 1
answered on 08 Sep 2009, 03:16 PM
Hi

The fix posted in the 09/04/2009 internal build fixed the bug on my end.

Thanks,

Allan
Tags
DragAndDrop
Asked by
Allan Elder
Top achievements
Rank 1
Answers by
Allan Elder
Top achievements
Rank 1
Valentin.Stoychev
Telerik team
Share this question
or