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

[Solved] Upgrade Drag & Drop issue

1 Answer 62 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Alessio
Top achievements
Rank 1
Alessio asked on 16 Nov 2010, 01:06 PM
Hi everyone,
i've just upgrade my solution with the lastest version of controls.
When i try to drag an item from a tree view to a gridview, just like the example you provide in demo, i get this error:
"Riga: 62
Errore: Unhandled Error in Silverlight Application
Code: 4004   
Category: ManagedRuntimeError      
Message: System.NullReferenceException: Riferimento a un oggetto non impostato su un'istanza di oggetto.
   su Telerik.Windows.Controls.DragDrop.RadDragAndDropManager.SetAllowDrag(DependencyObject obj, Boolean value)
   su Telerik.Windows.Controls.GridView.DragDropController.OnHeaderCellLoaded(Object sender, CellEventArgs e)".

Unfortunately my code is very complex and i can't provide here an example...
However the problem seems to be in the custom column definition, infact by set autogeneratecolumns to true and removing my custom columns the project works fine.
Any ideas?

1 Answer, 1 is accepted

Sort by
0
Tsvyatko
Telerik team
answered on 17 Nov 2010, 09:15 AM
Hello Alessio,

Is it possible to share some more information - scaledown project, xaml of the columns defined, since we are unable reproduce such problem from our side.

Regards,
Tsvyatko
the Telerik team
See What's New in RadControls for Silverlight in Q3 2010 on Tuesday, November 16, 2010 11:00 AM - 12:00 PM EST or 10:00 PM - 11:00 PM EST: Register here>>
Tags
GridView
Asked by
Alessio
Top achievements
Rank 1
Answers by
Tsvyatko
Telerik team
Share this question
or