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

Export + dynamic heading

3 Answers 34 Views
Grid
This is a migrated thread and some comments may be shown as answers.
kollam2003
Top achievements
Rank 1
kollam2003 asked on 17 Sep 2009, 09:08 AM
Can I add headings with html text & images to the exported document(pdf/excel) at the time of exporting.

3 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 1
answered on 17 Sep 2009, 09:36 AM
Hi,

You may add the Image and text in the CommandItemTemplate of the Grid and export. Go through the online demo which exports images to the exported PDF document.
Export to PDF

Thanks
Princy
0
kollam2003
Top achievements
Rank 1
answered on 17 Sep 2009, 09:41 AM
But i don't want to display it in the grid, only in the pdf/ excel
0
Accepted
Princy
Top achievements
Rank 1
answered on 17 Sep 2009, 11:13 AM
Hi,

You can set the visibility of the CommandItemTemplate in the export button's click event using the following code.

 
 RadGrid1.MasterTableView.CommandItemDisplay = GridCommandItemDisplay.Top; 
        RadGrid1.MasterTableView.Rebind(); 


Princy
Tags
Grid
Asked by
kollam2003
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 1
kollam2003
Top achievements
Rank 1
Share this question
or