Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
286
crash when previewing ultracharts
posted

Sometimes after clicking update ind the ultraprintpreviewdialog I get an exception like this:

{"Cross-thread operation not valid: Control '' accessed from a thread other than the thread it was created on."}

Stack Trace:
   at System.Windows.Forms.Control.get_Handle()
   at System.Windows.Forms.Control.SetParentHandle(IntPtr value)
   at System.Windows.Forms.Control.ControlCollection.Remove(Control value)
   at Infragistics.Win.UltraWinChart.IGWinTooltip.Dispose()
   at Infragistics.Win.UltraWinChart.UltraChart.Dispose(Boolean disposing)
   at System.ComponentModel.Component.Finalize()

 

I have no clue why it is happening, seems to happen only when visual studio is ib debug mode.

Sometimes after the 5th preview update, sometimes later... seems a bit randomly

Do you have any idea what could go wrong here? Seems to happen just when UltraChart is Disposing.

 

Parents
No Data
Reply
  • 17605
    posted

    We fixed one issue when the chart tooltip is showing. This might fix your case as well.  Can you try applying the latest service release and see if the issue still exists? If this doesn’t help, can you send us a sample project so we can investigate it?

Children
No Data