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
295
key not found exception when exporting grid to excel
posted

I found a bug in the wingrid, steps:

1-group by any column (ViewStyleBand=OutlookGroupBy)

2-add any summary to any column

3-band.RowLayoutStyle <> None

4-Export to excel ...

Dim ugrdExcelExporter As New Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter

ugrdExcelExporter.export(grid,filename) <--- KEY NOT FOUND EXCEPTION RAISES

Could you reproduce it?

 

EDIT: if i set band.RowLayoutStyle=none everything works fine

if i remove all the summaries then it's ok

if i have no columns in group by mode then it's ok too.