Hello,
In my gridview, I have a progressBarElement in a grid column as explained here:
When I export, I don't have the progress bar, only values
private void RunExportToExcelML(string fileName, ref bool openExportFile)
{
ExportToExcelML excelExporter = new ExportToExcelML(this.radGridView1)
{
SheetName = "Essai",
SummariesExportOption = SummariesOption.ExportAll,
SheetMaxRows = ExcelMaxRows._65536,
ExportVisualSettings =true,
};
try
{
excelExporter.RunExport(fileName);
RadMessageBox.SetThemeName(this.radGridView1.ThemeName);
DialogResult dr = RadMessageBox.Show("The data in the grid was exported successfully. Do you want to open the file?",
"Export to Excel", MessageBoxButtons.YesNo, RadMessageIcon.Question);
if (dr == DialogResult.Yes)
{
openExportFile = true;
}
}
catch (IOException ex)
{
RadMessageBox.SetThemeName(this.radGridView1.ThemeName);
RadMessageBox.Show(this, ex.Message, "I/O Error", MessageBoxButtons.OK, RadMessageIcon.Error);
}
}