Declined
Last Updated: 26 Apr 2019 07:59 by ADMIN
Kaarthic
Created on: 23 Dec 2016 14:05
Category: Grid
Type: Bug Report
0
Radgrid Template Column Header Export to PDF & Excel
I have added Listview in Header template in Template column, its showing the data on the grid as expected. When I am exporting to Excel or PDF its not exporting the header. Header you see in headertemplate.jpg is not exporting to PDF

Thanks
1 comment
ADMIN
Attila Antal
Posted on: 26 Apr 2019 07:59
Hi Kaarthic,

In the sample project you have shared I can see that Telerik Document Processing library is being used to build the export output on a Button click. Building the output manually is not related to RadGrid's built-in export functionality. 

In order to use RadGrid's built-in functionality to export to PDF using a Button's click, you will need to call the ExportToPDF() method of the grid. This in fact exports the required document as expected.

protected void ButtonExport_Click(object sender, EventArgs e)
{
    RadGrid1.ExportToPdf();
}

If you are experiencing issues building documents using the Telerik Document Processing library, please open a ticket with that product for support and assistance.

Kind regards,
Attila Antal
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.