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.
Hi,
I tested this out with your sample using the latest service release and it works just fine for me. After loading the layout, savedLayout.Bands[0].Summaries.Count is 1, as it should be. And if I save the layout, clear the summaries, then Load and Copy the layout, the summary displays correctly in the grid.
How to get the latest service release - Infragistics Community
Upgrading to 9.2 fixed this problem. Thanks.