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

RadGridView in WindowsForms ElementHost

2 Answers 79 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Boots
Top achievements
Rank 1
Boots asked on 19 Dec 2012, 06:13 PM
Hello,

Recently we updated the Telerik assemblies in our product to 2012.3.1017.40 and we've encountered an issue. When the user drags a column header to the group panel they encounter a NullReferenceException. We're hosting the control in a Windows Forms ElementHost control.

Any ideas on a workaround would be very helpful.

Stack Trace:
   at Telerik.Windows.Controls.DraggedElement.HideNoCursor()
   at Telerik.Windows.Controls.GridView.DragDropController.OnGroupPanelDragOver(Object sender, DragEventArgs e)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at Telerik.Windows.DragDrop.DragDropManager.DelegateHelper.OnDragEventHandler(Object sender, DragEventArgs e)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.OleDropTarget.RaiseDragEvent(RoutedEvent dragEvent, Int32 dragDropKeyStates, Int32& effects, DependencyObject target, Point targetPoint)
   at System.Windows.OleDropTarget.MS.Win32.UnsafeNativeMethods.IOleDropTarget.OleDragOver(Int32 dragDropKeyStates, Int64 point, Int32& effects)

Let me know if you need any more information. 

Thanks Much,
~Boots

2 Answers, 1 is accepted

Sort by
0
Accepted
Yordanka
Telerik team
answered on 20 Dec 2012, 07:36 AM
Hi Ben,

The exception should be fixed with our latest official binaries - Q3 2012 SP1. Could you give it a try and let me know if you find any problems?
 
Greetings,
Yordanka
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Boots
Top achievements
Rank 1
answered on 20 Dec 2012, 07:24 PM
Hey Yordanka,

That fixed our issue.

Thanks Again,
~Boots
Tags
GridView
Asked by
Boots
Top achievements
Rank 1
Answers by
Yordanka
Telerik team
Boots
Top achievements
Rank 1
Share this question
or