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
1425
Two Obscure UltraTile Issues
posted

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:

  • Tooltips displayed when hovering over the chart are not displayed next to the mouse.
  • When using more than one tile, if I enlarge one tile whilst hovering over the chart to display a tooltip (displaying the tooltip while it's trying to resize) the control in the tile "looses" it's Dock.Fill state. It's definitely still set to Dock.Fill, but it does not resize to fit the enlarged UltraTile...

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

  • 1425
    Verified Answer
    posted

    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.

    Cheers,

    Richard