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
535
Cancel Export
posted

I'm hoping this might be my last question :)

How can I cancel an export?

RowExporting and setting cancel cancels the export for that row...hwo can I terminate the entire export?

Peter

Parents
No Data
Reply
  • 469350
    Suggested Answer
    Offline posted

    Hi Peter,

    You can use the InitializeRow event on the Exporter. Like so:

            private void ultraGridExcelExporter1_InitializeRow(object sender, Infragistics.Win.UltraWinGrid.ExcelExport.ExcelExportInitializeRowEventArgs e)
            {
                e.TerminateExport = true;
            }    

Children
No Data