We did a large upgrade from Syncfusion version 6.x to 15.1.0.33. For the most part it is working. However, we get intermittent exceptions with our GridDataBoundGrids. The 2 we see have to do with Key in dictionary: 'RowHeaderCell' (please see the exceptions below).
We do not have access to the source code so it is proving difficult to debug. Any thoughts on what might have changed in the GridDataBoundGrid to now cause this? Something new we have to set on the grids? We realize this is a large upgrade but compatibility issues with Windows10 (https://www.syncfusion.com/forums/125300/windows-10-anniversary-update-causing-error) have left us little choice. Unless there is another way around the Window10 issue.
Thanks.
Message="Item has already been added. Key in dictionary: 'RowHeaderCell' Key being added: 'RowHeaderCell'"
Source="mscorlib"
StackTrace:
at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add)
at Syncfusion.Windows.Forms.Grid.GridCellModelCollection.Add(String cellTypeName, GridCellModelBase model)
at Syncfusion.Windows.Forms.Grid.GridModelDataBinder..ctor(GridModel model)
at Syncfusion.Windows.Forms.Grid.GridDataBoundGrid.CreateBinder()
at Syncfusion.Windows.Forms.Grid.GridDataBoundGrid.EnsureBinder()
at Syncfusion.Windows.Forms.Grid.GridDataBoundGrid.set_DataSource(Object value)
at xxx.ObjectDetailsForm.BuildDetailsGrid() in C:\src\csharp\xxx\yyy\ObjectDetailsForm.cs:line 533
at xxx.ObjectDetailsForm.set_DisplayTableName(String value) in C:\src\csharp\xxx\yyy\ObjectDetailsForm.cs:line 120
at xxx.InitialFlow.tvw_AfterSelect(Object sender, TreeViewEventArgs e) in C:\src\csharp\xxx\yyy\InitialFlow.cs:line 4369
at ggg.TreeViewMS.OnAfterSelect(TreeViewEventArgs e) in C:\src\csharp\xxx\yyy\TreeViewMS.cs:line 86
at System.Windows.Forms.TreeView.TvnSelected(NMTREEVIEW* nmtv)
at System.Windows.Forms.TreeView.WmNotify(Message& m)
at System.Windows.Forms.TreeView.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at System.Windows.Forms.Control.SendMessage(Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.Control.ReflectMessageInternal(IntPtr hWnd, Message& m)
at System.Windows.Forms.Control.WmNotify(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
at System.Windows.Forms.Control.WmSetFocus(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.TreeView.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
InnerException:
System.ArgumentException was unhandled by user code
Message="Item has already been added. Key in dictionary: 'RowHeaderCell' Key being added: 'RowHeaderCell'"
Source="mscorlib"
StackTrace:
at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add)
at Syncfusion.Windows.Forms.Grid.GridCellModelCollection.Add(String cellTypeName, GridCellModelBase model)
at Syncfusion.Windows.Forms.Grid.GridModelDataBinder..ctor(GridModel model)
at Syncfusion.Windows.Forms.Grid.GridDataBoundGrid.CreateBinder()
at Syncfusion.Windows.Forms.Grid.GridDataBoundGrid.EnsureBinder()
at Syncfusion.Windows.Forms.Grid.GridDataBoundGrid.get_GridBoundColumns()
at xxx.yyy.zzz.CertificateProperties.Model_QueryCellInfo(Object sender, GridQueryCellInfoEventArgs e) in C:\src\csharp\xxx\yyy\zzz\fff\CertificateProperties.cs:line 1673
at Syncfusion.Windows.Forms.Grid.GridModel.OnQueryCellInfo(GridQueryCellInfoEventArgs e)
InnerException: