Hi,
I have a TreeList with AllowLoadOnDemand="true". When I export the TreeList using the following code, the exported document has a blank row for header as can be seen in the attached screenshot.
Please Help!
Thanks,
NA
I have a TreeList with AllowLoadOnDemand="true". When I export the TreeList using the following code, the exported document has a blank row for header as can be seen in the attached screenshot.
protected void radButtonExcel_Click(object sender, EventArgs e)
{
rptTreeList.ExportSettings.IgnorePaging = true;
rptTreeList.ExportSettings.ExportMode = TreeListExportMode.RemoveAll;
rptTreeList.Rebind();
rptTreeList.ExportToExcel();
}
Please Help!
Thanks,
NA