Hi All,
I have a couple of issues with UltraTiles that contain a controlthat contains an UltraPanel, and an UltraChart within that panel.
The two issue are:
The obscure thing about both these issues is that neither occur if I remove a piece of functionality in both the containing control and the UltraChart that ensures they have handles associated with them by calling the Control.Handle property of each control (and any child controls).
Can anyone help me understand why I am seeing this behaviour? It's really puzzling me. I don't know if it's a slight bug in the Infragistics control(s) or whether there are side-affects of ensuring these controls have handles.
By the way, the reason I am ensuring each control has a handle is to avoid an issue described here that can cause a hang if the control is accessed before it's handled is created. It may be accessed when marshalling calls to the UI thread.
Any information, big or small, will be greatly appreciated!
Cheers,
Richard
Okay, so the issue was actually a mistake on my part. The problem was (and it seems so obvious now, as usual) that when ensuring all controls have handles, I was wrongly doing this in the construct o fthe control. The problem with this is that the control has not been placed in it's parent yet. By placing the functionality for ensuring all controls have handles after a control has been placed in it's parent, both these problems were resolved.
Hope that helps anyone in a simillar situation.