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
660
Redraw and Resize Errors with deep panel structure
posted

I have a very urgent problem with a lot of Infragistic Controls.

In Short:

- UltraPanels doesn't redraw and resize correctly
- UltraGrid, UltraTree doesn't redraw and resize corretly
...if the Control-Level is too deep

Longer:

For a bigger project i'm designing a lot of UserControls, used as "Modules" in our software. Now, A Form will have some Panels to structure the space and to use splitters. On a Panel there might be TabControl. On a Tab a UserControl will be placed. This UserControl again may contain Panels which contains another UserControl which creates more UserControls with Panels and Grids...

At some (not that deep) level, Infragistics-Controls will stop working correctly in terms of Anchors, FillStyle and Redraw/Paint-Events. It took me a while to figure out, that this is not a problem in my code but with the controls.

What i've tried so far:

I have seen the resize-problem with 2010.2.2026 (an UltraGrid and an UltraPanel did not resize)

I then updated to 2010.2.2151 - now the old problem still exists but i saw a new Problem (Redraw and Resize-troubles on an other form.

Then i installed 2010.3.1000 (was on our local sever for a while) but had troubles upgrading the Solution

So i got 2010.3.2107, updated the solution trouble-free, but saw the exact same errors. Nothing changed.

So i started build up a little Test-project showing the problem. I have attached it.

 

What i need:

I really need a solution for this problem.
Please tell me soon in which Version this error is fixed or, if not, please provide me with a Hot-Fix or an early SR or something. I need to go on building modules and the application and very soon i have to present this application.

Thanks a lot for quick help

ErrorInfragisticResize.zip
  • 660
    Verified Answer
    posted

    Yes, it's not an Infragistics-problem and it's not a .net-Problem - It's a Windows-Problem. 

    If you stack up Controls very(!) deep it should happen with every Windows-Version (at least up to Windows7) but normally you will never notice.

    But with Windows7 64bit there is a bug. Microsoft has "forgotten"(?) to make the stack bigger to hold the same amount of handle-addresses like with 32bit Addresses. 64bit addresses are longer but the stack-size stays the same - so will notice that problem earlier. 

    Sorry that i don't have the link at hand but i found a Statement online from Microsoft saying something like: "we are aware of that problem and it will be fixed in Windows8". So don't expect any fix for Windows7 and try with Windows8 instead.

  • 660
    posted

    Support contacted me. The problem exists with standard .Net Controls (Panel and Label for example) too (as i tested, one level deeper than with Infragistics, at least with panels)

    So it's a .Net problem :(

    We will check out, if we could "reinject" some messages to our user-controls to make them resize again or how we could simplify the control-structure (as a work-around)