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

export radgrid to pdf

1 Answer 53 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mokhtar Rawy
Top achievements
Rank 1
Mokhtar Rawy asked on 11 May 2011, 08:07 PM
hi ,
i use  CommandItemTemplate in radgrid conrol it is work fine and it export to pdf good but i have problem that

 

CommandItemTemplate is repeated for every page in pdf ,i want to display
CommandItemTemplate only in first page of pdf
please help...............

 

 

 

 

 

 

 

 

 

 

 

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 17 May 2011, 08:10 AM
Hello Mokhtar,

Instead of using the command item as a heading placeholder, you can add your own HTML content on PdfExporting event:
protected void RadGrid1_PdfExporting(object sender, GridPdfExportingArgs e)
{
    e.RawHTML...
}

Kind regards,
Daniel
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Grid
Asked by
Mokhtar Rawy
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or