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
20
wpf ExcelExporter
posted

Trying to use Infragistics Excel Exporter and getting error: Stack overflow on the last line of code below:

 

 

 

 

 

 

Dim exporter = CType(Me.Resources("Exporter"), DataPresenterExcelExporter)      
Dim options As ExportOptions = New ExportOptions
options.FileLimitBehaviour = FileLimitBehaviour.ThrowException
exporter.Export(Me.xamdgExporter, fileName, WorkbookFormat.Excel97To2003, options)

Looking for any suggestions,

Thanks.

  • 995
    posted

    The ThrowException enum sets an exception during the exporting process if excel file limit is reached. The full list of the Excel limits is here.