StrataFrame Forum

DevExpress XtraGrid Error

http://forum.strataframe.net/Topic17538.aspx

By Bill Cunnien - 7/2/2008

The message:  "Error occurs"

Not a lot to go on.

Stack Trace:
at DevExpress.XtraGrid.GridControl.EndUpdate(Boolean synchronized)
   at DevExpress.XtraGrid.GridControl.EndUpdate()
   at DevExpress.XtraGrid.GridControl.OnLoaded()
   at DevExpress.XtraEditors.Container.EditorContainer.OnVisibleChanged(EventArgs e)
   at DevExpress.XtraGrid.GridControl.OnVisibleChanged(EventArgs e)
   at System.Windows.Forms.Control.OnParentVisibleChanged(EventArgs e)
   at System.Windows.Forms.Control.OnVisibleChanged(EventArgs e)
   at System.Windows.Forms.ScrollableControl.OnVisibleChanged(EventArgs e)
   at System.Windows.Forms.Form.OnVisibleChanged(EventArgs e)
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativewindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativewindow.WndProc(Message& m)
   at System.Windows.Forms.Nativewindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Also, not much to go on.  It worked until I changed out the BO and the BBS.  I reset my columns and ran the window...that's when I got this error. 

I am just throwing this out there in case anyone has some ideas.  I am still working the debugger, walking code, and such.  Hoping I can shave some time off my troubleshooting with a good tip from my SF friends.  Smile

Thanks!
Bill

By Trent L. Taylor - 7/2/2008

Sorry...like you said, not much to go on. Ermm  If you are running this through a grid other than the main thread there could potentially be a synchronization issue..but again, that is a shot in the dark.
By Bill Cunnien - 7/2/2008

Found it!  Double and decimal data types just don't get along too well by themselves.  Tongue
By Trent L. Taylor - 7/3/2008

Cool Cool  Glad you found it!