Hello,
I have encountered a "red cross" problem in our Win application with the use of Infragistics 2010 vol 3. This problem occurs only at one of our customers.
This customer had first the red cross problem in the WinGrid but we have fixed this. After working with our application for 2 workweeks this error in the groupbox suddenly appeared.This problem can occure on every workstation of this customer. None of our customers or ourselve have experienced this before.
It happens in the Paint method and this is not caught by our excepton handlers so the application crashes with a "hard" error message.
The red cross in the grid I could understand because of the refreshing of the data when filtering the data but a groupbox nevers refreshes or repaints itselfs in the application. Not on purpose nor by code.
How can I fix this?
Based on the screenshot you provided, this appears to be an InvalidOperationException ("Object is currently in use elsewhere") exception. Unfortunately without a sample to reproduce or at least the exception details, it is difficult to determine the cause. Is this a multi-threading application? What styling is being used on the UltraGroupBox (i.e. an image, etc)?
Thanks,
Chris
Hi Chris,
Most of components including the groupbox have the Office2007 preset set.
The groupbox has a title set and displayed.
The rest of the layout properties and behaviour is default.
What you could try in order to isolate this behavior is reset the mentioned properties, or reset the preset just to verify if the same behavior will persist after that. Another thing that you could try is applying the latest service release for NetAdvantage 2010 vol3 and test your application under it. Please note that this might not help in this situation since this happens only on few machines and not all of them. If this behavior is still reproducible after all could you please provide us small sample which reproduces this behavior if possible, and I will be glad to look into it further for you.
Please let us know if you have any other questions.