Grid Header Export Problem

2 posts, 0 answers
  1. Stephen
    Stephen avatar
    11 posts
    Member since:
    Aug 2010

    Posted 09 Feb 2012 Link to this post

    When calling the default export method for the grid it does not export header names but rather the data type name.

    We are using the following to get wrapping on grid headers:

    telerik:GridViewDataColumn DataMemberBinding="{Binding OpeningBalance, Mode=TwoWay, StringFormat=\{0:N0\} }" Width="80">


    <telerik:GridViewDataColumn.Header><TextBlock Text="Opening Balance" TextWrapping="Wrap"/></telerik:GridViewDataColumn.Header>

  2. Vlad
    Vlad avatar
    11100 posts

    Posted 09 Feb 2012 Link to this post


     Please use ElementExporting event to set e.Value to desired. Custom headers, footers, templates etc. cannot be exported by default. 

    All the best,
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Back to Top