This is a migrated thread and some comments may be shown as answers.

blank rows appearing in exported excel file

1 Answer 115 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Dave
Top achievements
Rank 1
Dave asked on 02 Mar 2011, 07:04 PM
I am trying to figure out why a blank row is appearing between each row of data in the excel file that gets exported from my radgrid. Here is how I am doing the export:

grdMetricsClosed.ExportSettings.ExportOnlyData = true;
grdMetricsClosed.ExportSettings.IgnorePaging = true;
grdMetricsClosed.ExportSettings.OpenInNewWindow = true;
 
foreach (GridColumn col in grdMetricsClosed.MasterTableView.RenderColumns)
{
    col.Visible = true;
}
 
grdMetricsClosed.MasterTableView.ExportToExcel();

I am at a loss as to why that is happening. Anyone run into this and if so, what is the solution?

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 04 Mar 2011, 10:59 PM
Hello Dave,

It is hard to guess what causes this behavior. Could you please attach (or post) your code so that I can examine it?

Kind regards,
Daniel
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
Grid
Asked by
Dave
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or