Professional UI Solutions
Site Map   /  Register


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.



************** 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 **************

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


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.