Hi there,
Below is my fine-working ExportToExcel function.
| Protected Sub btnExportToExcel_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnExportToExcel.Click |
| RadGrid1.MasterTableView.DetailTables(0).Visible = False ' purposely make DetailTable invisible but it shows us BLANK row in Excel.. |
| RadGrid1.ExportSettings.ExportOnlyData = True |
| RadGrid1.ExportSettings.IgnorePaging = True |
| RadGrid1.ExportSettings.OpenInNewWindow = True |
| RadGrid1.MasterTableView.ExportToExcel() |
| End Sub |
I am using a RadGrid attached with a DetailTable.
The only problem I am facing is when it come to Excel exporting, and I was trying to make the DetailTable not visible in Excel report.. but it was like a BLANK row appears alternately in between every data row. (refer to attached screenshot excel.jpg)
It causing problems when we doing data analyzing and formating. Would it be any solution for this issue?
Thank you very much. :)
waiwai