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

Export RadTreeListView with Header contains control result exported Column incorrect

2 Answers 44 Views
TreeListView
This is a migrated thread and some comments may be shown as answers.
Ricky Wu
Top achievements
Rank 1
Ricky Wu asked on 11 Jun 2012, 09:11 PM
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 Answers, 1 is accepted

Sort by
0
Accepted
Dimitrina
Telerik team
answered on 12 Jun 2012, 05:39 AM
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 >>

0
Ricky Wu
Top achievements
Rank 1
answered on 12 Jun 2012, 01:06 PM
Thanks!
Tags
TreeListView
Asked by
Ricky Wu
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Ricky Wu
Top achievements
Rank 1
Share this question
or