Excel export Header column problem

3 posts, 0 answers
  1. GOURVEZ JJ
    GOURVEZ JJ avatar
    55 posts
    Member since:
    Dec 2009

    Posted 01 Mar 2012 Link to this post

    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. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 02 Mar 2012 Link to this post

    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 >>
  3. GOURVEZ JJ
    GOURVEZ JJ avatar
    55 posts
    Member since:
    Dec 2009

    Posted 02 Mar 2012 Link to this post

    thanks for your anwer, it's perfect !!!

Back to Top