I seem to be getting this random crash with 10.2.20102.1004. Just have an UltraComboEditor with 4 text items and images on a modal dialog. Crash occurs on ShowDialog after randomly opening and closing the dialog a few times without doing anything and no events handled on the combo editor. The only thread is the UI thread.
System.InvalidOperationException was unhandled
Message="Cross-thread operation not valid: Control '' accessed from a thread other than the thread it was created on."
Source="System.Windows.Forms"
StackTrace:
at System.Windows.Forms.Control.get_Handle()
at System.Windows.Forms.Control.get_InternalHandle()
at System.Windows.Forms.Control.DestroyHandle()
at System.Windows.Forms.Control.Dispose(Boolean disposing)
at Infragistics.Win.UltraControlBase.Dispose(Boolean disposing)
at Infragistics.Win.ValueListDropDown.Dispose(Boolean disposing)
at System.ComponentModel.Component.Dispose()
at Infragistics.Win.ValueList.OnDispose()
at Infragistics.Win.BindableValueList.OnDispose()
at Infragistics.Shared.DisposableObject.Dispose()
at Infragistics.Win.UltraWinEditors.UltraComboEditor.DisposeValueList()
at Infragistics.Win.UltraWinEditors.UltraComboEditor.Dispose(Boolean disposing)
at System.ComponentModel.Component.Finalize()
InnerException:
Hello Rvdv, In the link you are pointing the original issue was solved after installing the all .NET service packs. Also I am suggesting you to get the latest service release of NetAdvantage. Which version are you using?Are you getting this only in a UltraComboEditor? Can you please explain a little more about your scenario and when you got this error?Thank you.Sincerely,DimiDeveloper Support EngineerInfragistics, Inc.
Hi,
i've got exactly the same problem.
it is simalar as explained in http://forums.infragistics.com/forums/p/16036/58390.aspx
Is there allready a solution for it?
Hello,
I just wanted to know if you were able to solve your issue or you still need help? Just let me know.
Thank you.
Sincerely,DimiDeveloper Support EngineerInfragistics, Inc.
I was getting exactly the same error in the same circumstances. The solution I found was to ensure you dispose of the form containing the drop down once you are finished with it i.e.
using(Form1 frm = new Form1()){ if (frm.ShowDialog() == DialogResult.OK) { // Perform any work required }}
I just wanted to know if you were able to solve your issue or you still need help? Just let me know. Thank you.