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

Gridview title in export file

1 Answer 18 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Mohamed Hussain Nabhan Hussain
Top achievements
Rank 1
Mohamed Hussain Nabhan Hussain asked on 09 May 2012, 12:42 PM
hi,

How can i write report title which is exported from Gridview in excel format?

Thanks in advance...

Regards,
Yasser

1 Answer, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 09 May 2012, 01:06 PM
Hello Mohamed,

RadGridView does not support such functionality.  There are two alternatives :
1. Hack  the output stream  in the Export method in order to insert your additional content . ( not recommended!)

2. Use RadDocument to help you achieve any custom layout (including title). This however would export to PDF only, not to Excel).

All the best,
Pavel Pavlov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
GridView
Asked by
Mohamed Hussain Nabhan Hussain
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
Share this question
or