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

Excel export Header column problem

2 Answers 50 Views
GridView
This is a migrated thread and some comments may be shown as answers.
GOURVEZ JJ
Top achievements
Rank 1
GOURVEZ JJ asked on 01 Mar 2012, 11:00 AM
Hi,

I use an radgridview in my application.
On the header, I have Tooltip

The problem is when I export my GridView to Excel, in Excel the headers are replace by "System.Windows.Controls.Label"

This is my code :

 

 

 

<telerik:GridViewComboBoxColumn HeaderCellStyle="{StaticResource MyHeaderCellStyleBlue}" UniqueName="ComboTT" DataMemberBinding="{Binding Traite_par}" SelectedValueMemberPath="id" DisplayMemberPath="libelle" Width="65">

 

 

 

 

<telerik:GridViewComboBoxColumn.Header>

 

 

 

 

<sdk:Label Content="Traité par" ToolTipService.ToolTip="Traité par" ></sdk:Label>

 

 

 

 

</telerik:GridViewComboBoxColumn.Header>

 

 

 

 

</telerik:GridViewComboBoxColumn>

Can you help me ?

Thanks

 

2 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 02 Mar 2012, 10:28 AM
Hi,

 Please check the solution explained in this help article. I believe that this is what you need.

Regards,
Didie
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
GOURVEZ JJ
Top achievements
Rank 1
answered on 02 Mar 2012, 04:10 PM
thanks for your anwer, it's perfect !!!

Tags
GridView
Asked by
GOURVEZ JJ
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
GOURVEZ JJ
Top achievements
Rank 1
Share this question
or