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

Tutorial error - Getting Started

2 Answers 13 Views
DragAndDrop
This is a migrated thread and some comments may be shown as answers.
Alan
Top achievements
Rank 1
Iron
Alan asked on 16 Nov 2011, 02:13 PM
Hi guys, Just working through the first tutorial for Drag & Drop - 01 Getting Started. When I hit F5 MainPage displays ok, but when I move an eclipse I get a runtime error..

An unhandled exception ('Unhandled Error in Silverlight Application
Code: 4004
Category: MangedRuntimeError
Messgae: System.InvalidCastException: Unable to cast object of type 'System.String' to type 'System.Windows.FrameworkElement'

Any ideas?? Ta. Al.

2 Answers, 1 is accepted

Sort by
0
Tsvyatko
Telerik team
answered on 16 Nov 2011, 02:59 PM
Hello Webal,

 It seems that there is not full information about what code to place within DragQuery event. I have created sample project based on this help article that includes proper implementation. We will update our article accordingly.

Please, excuse us for the inconvenience caused.

Kind regards,
Tsvyatko
the Telerik team

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

0
Alan
Top achievements
Rank 1
Iron
answered on 17 Nov 2011, 09:31 AM
Thanks for your quick reply Tsvyatko.
Regards,
Al.
Tags
DragAndDrop
Asked by
Alan
Top achievements
Rank 1
Iron
Answers by
Tsvyatko
Telerik team
Alan
Top achievements
Rank 1
Iron
Share this question
or