When I hover over the column header of my XamGrid I get an exception (included below). This happens when I do something as simple as <ig:XamGrid ItemsSource={Binding MyItems} /> and let it auto-generate the columns. MyItems is just a BindingList<T> where T is an object with 10 fields, a mix of strings and integers.
The grid is hosted in WPF control which is being hosted on a Winforms form.
Any ideas what might be causing this?
Message : Value cannot be null. Parameter name: otherVisual Source : PresentationCore Help link : ParamName : otherVisual Data : System.Collections.ListDictionaryInternal TargetSite : System.Windows.DependencyObject FindCommonVisualAncestor(System.Windows.DependencyObject) Stack Trace : at System.Windows.Media.Visual.FindCommonVisualAncestor(DependencyObject otherVisual) at System.Windows.Media.Visual.TransformToVisual(Visual visual) at Infragistics.Controls.Grids.Primitives.HeaderCellControl.GetBoundsOfElement(FrameworkElement element, UIElement relativeElement) at Infragistics.Controls.Grids.Primitives.CellControlBase.DetermineCursor(MouseEventArgs e) at Infragistics.Controls.Grids.Primitives.CellControlBase.OnMouseMoveColumnResizing(MouseEventArgs e) at Infragistics.Controls.Grids.Primitives.CellControlBase.OnMouseMove(MouseEventArgs e) at System.Windows.UIElement.OnMouseMoveThunk(Object sender, MouseEventArgs e) at System.Windows.Input.MouseEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.RouteItem.InvokeHandler(RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.EventRoute.InvokeHandlers(Object source, RoutedEventArgs args) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args) at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted) at System.Windows.Input.InputManager.ProcessStagingArea() at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport) at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel) at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) ...
Hello,
I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.
If the above suggestion helped you solve your issue please verify the thread as answered so other users may take better advantage of it.
Hi Mark,
The latest version is 11.2.20112.2125 from beginning of this month. It appears the issue was not fixed yet in the version you are using. Please download and install the latest Service Release.
I am looking forward to receiving your feedback on the outcome.
I'm currently running 11.2.20112.2076. I'm not sure if this is the most recent patch release available (End of feb), but is this issue in this release too?
Hello Mark,
I have been investigating into your issue and I was only able to reproduce it with the RTM version of 11.2 (.20112.1012), however in the latest Service Release this appears to have already been fixed. You can get the new version from our website’s “My IG”, “My Keys & Downloads” tags: https://es.infragistics.com/Membership/Default.aspx?panel=Downloads#Downloads
Please let me know if I can be of any further assistance on the matter.
Should I file a defect for this bug?
In the meantime I am going to switch back tot he XamDataGrid instead.