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

Export to Excel/Pdf from RadGrid

5 Answers 276 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mritunjay
Top achievements
Rank 1
Mritunjay asked on 12 Apr 2010, 02:04 PM
Hi,

I am exporting data from RadGrid to Excel/PDF. I want to do cell label formating in excel sheet. For eg. I want to set the width of a perticulor cell in excel. I want to change the color of a cell. I wnat to set the formate ( date formate , number format ) for a cell.

I want  to set some header to  exported excel or PDF.

5 Answers, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 12 Apr 2010, 04:02 PM
Hello Mritunjay,

Please examine the following links:
PDF export
Word/Excel export (HTML-based)
ExcelML export

I also attached two projects that demonstrate how to set header and footer to the Excel (both ExcelML and HTML) file.
As to the PDF file - you can mimic a simple header using the Title property.

Best regards,
Daniel
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Florian
Top achievements
Rank 1
answered on 12 Sep 2011, 03:34 PM
Hello Daniel,

I would love to see your example for the htmlexcel approach. Unfortunately, the zip file also contains only the ExcelML Version.
Could you manage to upload the correct one?

Thanks!

Florian
0
Daniel
Telerik team
answered on 15 Sep 2011, 04:05 PM
Hello Florian,

Please find attached the HTML header/footer demo mentioned in the previous post.

Let me know if I can assist you further.

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
0
Florian
Top achievements
Rank 1
answered on 15 Sep 2011, 05:04 PM
Missed the attachment? =)
0
Daniel
Telerik team
answered on 20 Sep 2011, 09:14 AM
My bad. Should be ok now.

Daniel
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
Grid
Asked by
Mritunjay
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Florian
Top achievements
Rank 1
Share this question
or