Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Elegant Ribbon Tech Support » Elegant.UI exceptions in forms that run on threads other than the main application thread - Part3 Collapse All
Subject Author Date
Alexander Kaay Jul 4, 2010 - 7:40 AM

Greetings and Happy Fourth of July -


The fix from last Monday eliminated all of the null reference exceptions and many of the cross-threaded control calls, however, some are still sneaking through. Please see the stack trace below. This one seems to be related to the tab page component.


Also, Elegand Grid v3.6 CellButtons are still broken [in our application]: the grid does not emit CellButtonClick event when they are clicked, and when they are clicked, they get stuck in depressed state forever.


-Alex


 



************** Exception Text **************
System.InvalidOperationException: Cross-thread operation not valid: Control ’TabControl1’ accessed from a thread other than the thread it was created on.
   at System.Windows.Forms.Control.get_Handle()
   at System.Windows.Forms.Control.PointToClientInternal(Point p)
   at System.Windows.Forms.Control.PointToClient(Point p)
   at Elegant.Ui.Control.UpdateControlAffectedByMouse()
   at Elegant.Ui.Control.ControlAffectedByMouseParent_LocationChanged(Object sender, EventArgs e)
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnLocationChanged(EventArgs e)
   at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
   at System.Windows.Forms.Control.UpdateBounds()
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(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)


************** Loaded Assemblies **************

----------------------------------------
Elegant.Ui.Common
    Assembly Version: 3.6.0.0
    Win32 Version: 3.6.0.0
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Elegant.Ui.Common/3.6.0.0__3a2b400713aae6e0/Elegant.Ui.Common.dll
----------------------------------------
Elegant.Ui.Grid
    Assembly Version: 3.6.0.0
    Win32 Version: 3.6.0.0
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Elegant.Ui.Grid/3.6.0.0__3a2b400713aae6e0/Elegant.Ui.Grid.dll
----------------------------------------
Elegant.Ui.Ribbon
    Assembly Version: 3.6.0.0
    Win32 Version: 3.6.0.0
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Elegant.Ui.Ribbon/3.6.0.0__3a2b400713aae6e0/Elegant.Ui.Ribbon.dll
----------------------------------------
Elegant.Ui.Ribbon.Theme.Office2007Black
    Assembly Version: 3.6.0.0
    Win32 Version: 3.6.0.0
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Elegant.Ui.Ribbon.Theme.Office2007Black/3.6.0.0__3a2b400713aae6e0/Elegant.Ui.Ribbon.Theme.Office2007Black.dll
----------------------------------------
Elegant.Ui.Common.Theme.Office2007Black
    Assembly Version: 3.6.0.0
    Win32 Version: 3.6.0.0
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Elegant.Ui.Common.Theme.Office2007Black/3.6.0.0__3a2b400713aae6e0/Elegant.Ui.Common.Theme.Office2007Black.dll


 

Technical Support Jul 12, 2010 - 2:26 AM

Thank you for the bug report. This will be fixed in version 3.7, which is coming soon.