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

Can you keep styles when exporting to excel

3 Answers 147 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Joshua
Top achievements
Rank 1
Joshua asked on 04 Apr 2011, 02:16 AM
When exporting to excel is it possible to keep the same cell styles e.g. background color, text color, etc.? Can you do this with the ElementExporting event perhaps?

My cells formats are not all the same because I am using the cellstyleselector.


3 Answers, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 04 Apr 2011, 06:56 AM
Hi Joshua,

 

You can find a demo that shows how to customize the appearance of the elements of the exported table here.


Regards,
Vanya Pavlova
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
Joshua
Top achievements
Rank 1
answered on 04 Apr 2011, 07:20 AM
When I go to that page and click open I get a message that says "Example not supported in XBAP environment". I cannot view the code either. I'm using IE9.
0
Vanya Pavlova
Telerik team
answered on 04 Apr 2011, 07:31 AM
Hi Joshua,


Indeed some of the examples are really not supported in XBAP environment.
If you have installed local copy of RadControls/WPF you can run the examples manually.
You may see directly the Silverlight version of this example following this link. 


 
Regards,
Vanya Pavlova
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
Tags
GridView
Asked by
Joshua
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Joshua
Top achievements
Rank 1
Share this question
or