protected void btnOKExport_Click(object sender, EventArgs e) { string filename = HttpUtility.UrlEncode(this.txtFileNameExport.Text); filename = filename.Replace("+", "%20"); this.eExporter.DownloadName = filename; this.eExporter.DataExportMode = (DataExportMode)Enum.Parse(typeof(DataExportMode), this.rdoExportTypeExport.SelectedValue); this.eExporter.WorkbookFormat = (Infragistics.Excel.WorkbookFormat)Enum.Parse(typeof(Infragistics.Excel.WorkbookFormat), "Excel97To2003"); bool singleGridPerSheet = false; this.eExporter.Export(singleGridPerSheet, this.webDGExport); } I want to hide the modalpopup extender after the above button click event which is not happening. Please help.
Hi Bebu,
Could you please clarify your question - how exactly you are using ModalPopupExtender? Anyway, you could try to call its Hide method after the line exporting the grid.
Hello Bebu,
Please let me know if you still need assistance with the matter.