I have gdbg with some cells of dropdown type. All in 184.108.40.206
A dropdown form contains a grouping grid with a custom summary row. A user enters values into a editable column within the grouping grid and presses OK. The total automatically is being displayed in the parent cell in the gdbg. Saving logic in the parent gdbg is implemented in CurrentCellMoved. When a focus is moved to another cell everything works fine. BUT, if a user clicks again on the same drop-down while focus still there (it is still the same parent cell in the gdbg), I get NullReferenceException on Form.ShowDialog() method call. Here are details:
ex.Message = "Object reference not set to an instance of an object."
ex.StackTrace = " at Syncfusion.Grouping.RecordsDetails.OnEnsureInitialized(Object sender)\r at Syncfusion.Grouping.Element.EnsureInitialized(Object sender, Boolean notifyParent)\r at Syncfusion.Grouping.Element.EnsureInitialized(Object sender, Boolean notifyParent)\r at Syncfusion.Grouping.RuntimeElementsInTableCollection.Contains(Element value)\r at Syncfusion.Windows.Forms.Grid.Grouping.GridTable.RepaintElementsInQueue()\r at Syncfusion.Windows.Forms.Grid.Grouping.GridTableControl.SynchronizeGridWithEngine()\r at Syncfusion.Windows.Forms.Grid.Grouping.GridTableControl.OnBeforePaint(EventArgs e)\r at Syncfusion.Windows.Forms.Grid.GridControlBase.WndProc(Message& msg)\r at Syncfusion.Windows.Forms.Grid.Grouping.GridTableControl.WndProc(Message& msg)\r at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)\r at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)\r at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)\r at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)\r at System.Windows.Forms.ComponentManager.System.Windows.Forms.UnsafeNativeMethods+IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)\r at System.Windows.Forms.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)\r at System.Windows.Forms.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)\r at System.Windows.Forms.Application.RunDialog(Form form)\r at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)\r at System.Windows.Forms.Form.ShowDialog()\r at OfflineTimeActivity.DropDownFormCellRenderer.OnButtonClicked(Int32 rowIndex, Int32 colIndex, Int32 button) "
I would appreciate if you could help me to resolve this issue.
Thanks and sorry for a long description.
ADAdministrator Syncfusion Team July 21, 2005 11:15 AM
I searched for hits on this problem in our forums and Direct Trac. I found this forum thread.
It looks the problem was fixed a year ago. You might need to update your version to something more current.
IKIgor KashtelyanJuly 21, 2005 12:19 PM
What is the number of the patch and how can I get it the fastest way?
>I searched for hits on this problem in our forums and Direct Trac. I found this forum thread.
>It looks the problem was fixed a year ago. You might need to update your version to something more current.
ADAdministrator Syncfusion Team July 21, 2005 01:34 PM
The latest downloads are available from you direct trac home page.
IKIgor KashtelyanJuly 21, 2005 04:33 PM
I checked the Syncfusion source code that we are currently running (it''s 220.127.116.11).
ResetRepaintElementsInQueue that was a discussion subject in a thread you mentioned, is not a public method. OnEnsureInitialized though seems to have a code different from that in a thread.
What was the solution to this defect? How can I obtain the correct version?
We have UAT starting on Monday, but this problem is holding us off.
Please advise on how to resolve (even a workaround would be good).
>The latest downloads are available from you direct trac home page.
ADAdministrator Syncfusion Team July 21, 2005 06:21 PM
18.104.22.168 is from April of 2004. That thread is from July of 2004. So, version 22.214.171.124 is teh version after 126.96.36.199, but the latest version is 188.8.131.52 with 184.108.40.206 coming available shortly.
Here is the link to our web page where you sign into Direct Trac.
As soon as you sign in, you will be able to select from a list of versions to download.