I am opening up an .aspx page with a radgrid on it. I click a button and it runs the 4 lines of code below.
rgExportSummary.ExportSettings.IgnorePaging =
True
rgExportSummary.ExportSettings.Excel.Format =
DirectCast
([
Enum
].Parse(
GetType
(GridExcelExportFormat),
"ExcelML"
), GridExcelExportFormat)
rgExportSummary.ExportSettings.ExportOnlyData =
True
rgExportSummary.ExportSettings.OpenInNewWindow =
True
rgExportSummary.MasterTableView.ExportToExcel()
When I use the window.open javascript to open this aspx page and then click the button to run the above code, I get the export for the grid.
When I use the window.ShowModalDialog javascript to open the aspx page and then click the button to run the above code, I do not get any export or response.
What am I doing wrong or missing?