Hello,
I am using Infragistics v7.1 (specifically Infragistics2.Win.UltraWinGrid.ExcelExport.v7.1). We have a small grid where we use the RowLayoutColumnInfo on several UltraGridColumns. On some of these columns we don't want any 'heading' to be displayed so we set the:
column.RowLayoutColumnInfo.LabelPosition = LabelPosition.None;
We export the grid using:
Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter exporter = new Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter();exporter.Export(Grid, FileName);
Whenever a user attempts to do the export with any of the 'no-heading' columns showing, this code ends up in an infinite loop. Using Reflector it appears that the GetCompressedGridBagLayoutManager is getting stuck in a while loop. If a column's LabelPosition is set to None, does it's RowHeight get set to 0 (causing the while loops to not increment their index)? Is there a better way to not display the Label that will allow Excel exporting to work or should the above situation not cause this problem? Thanks
Do you have the latest Hot Fix? I am pretty sure I remember this issue being fixed.
If that doesn't help, you should Submit an incident to Infragistics Developer Support and send along a small sample project demonstrating the problem.
Thanks for your response!
I updated to V7.1.20071.1061 but my export still hangs. I submitted ticket WMS1484 with a small application that demonstrates my situation and the problem that occurs.