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
1470
UserControl vs Panel
posted

I recognized a strange behaviour from the UltraGrid, based on the type of the grids parent control.

If the parent control is a System.Windows.Forms.UserControl, the GridObjects (like bands, columns, rows etc.) are created earlier than, when the parent control is a System.Windows.Forms.Panel.

Is there any explanation for this behavior? We changed the type of the parent control and we got many exceptions, because we accessed those GridObjects at a time when the grid is not builded completely.

I cannot attach a sample, because its deep in our application engine. And i cannot attach the whole application with source code, because of obvious reasons.

 

Regards