Export RadTreeListView with Header contains control result exported Column incorrect

3 posts, 1 answers
  1. Ricky Wu
    Ricky Wu avatar
    16 posts
    Member since:
    Apr 2010

    Posted 11 Jun 2012 Link to this post

    Hello Telerik Staff,

    I wonder if this is a bug or there is a proper way to doing it?
    I have the following as my Column header:

    <telerik:GridViewDataColumn  UniqueName="FirstName">
                            <telerik:GridViewDataColumn.Header>
                                <TextBlock Text="My Header"/>                           
                            </telerik:GridViewDataColumn.Header>
                            <telerik:GridViewDataColumn.CellTemplate>
                                <DataTemplate>
                                    <Grid Height="100">
                                        <Rectangle Stroke="AliceBlue" StrokeThickness="1" Fill="Transparent"/>
                                        <TextBlock Text="{Binding FirstName}"/>
                                    </Grid>
                                </DataTemplate>
                            </telerik:GridViewDataColumn.CellTemplate>
                        </telerik:GridViewDataColumn>

    If I export this TreeListView, the column name will become TextBlock.ToString() value...
    What will be the proper way of doing it?

    Thanks
  2. Answer
    Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 12 Jun 2012 Link to this post

    Hi,

    I would suggest you going through this help article where a solution for the scenario is suggested.

    All the best,
    Didie
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. DevCraft banner
  4. Ricky Wu
    Ricky Wu avatar
    16 posts
    Member since:
    Apr 2010

    Posted 12 Jun 2012 Link to this post

    Thanks!
Back to Top