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
400
UltraGridLayout.LoadFromXml doesn't always load summaries
posted

We just recently switched from Infragistics for Windows Forms 2007 Vol 3 to 2009 Vol 1.

It seems that UltraGridLayout.LoadFromXml doesn't load row summaries in the xml when the layout isn't attached to a grid.

If layoutStream contains xml data for a layout with summaries.

UltraGridLayout savedLayout = new Infragistics.Win.UltraWinGrid.UltraGridLayout();

savedLayout.LoadFromXml(layoutStream);

savedLayout doesn't get any summaries.

But the following does load the summaries correctly:

myGrid.DisplayLayout.LoadFromXml(layoutStream);

Is this a bug? I've attached a project that demonstrates the problem.

GridLayoutLoadBug.rar