Hello.
I'm using this great example for exporting grid to xml: http://www.telerik.com/help/wpf/gridview-export.html.
Problem is that, I have ColumnGroups declared like:
<telerik:RadGridView.ColumnGroups>
<telerik:GridViewColumnGroup Name="Numer">
<telerik:GridViewColumnGroup.Header>
<TextBlock Text="Numer" HorizontalAlignment="Center" VerticalAlignment="Center" TextAlignment="Center" />
</telerik:GridViewColumnGroup.Header>
</telerik:GridViewColumnGroup>
(...)
</telerik:RadGridView.ColumnGroups>
And using it with column:
<telerik:GridViewDataColumn Name="col5" DataMemberBinding="{Binding Nazwa dokumentu}" Header="Wewnętrzny" Tag="nazwa" ColumnGroupName="Numer">
<telerik:GridViewDataColumn.AggregateFunctions>
<telerik:CountFunction Caption="Liczba dokumentów: "></telerik:CountFunction>
</telerik:GridViewDataColumn.AggregateFunctions>
</telerik:GridViewDataColumn>
Well, it does export to xml, but with this little problem: http://puu.sh/9g0pQ/c92b2e57f8.png
How can I export content (text) of textblock instead of System.Windows.Controls.TextBlock ?
I'm using this great example for exporting grid to xml: http://www.telerik.com/help/wpf/gridview-export.html.
Problem is that, I have ColumnGroups declared like:
<telerik:RadGridView.ColumnGroups>
<telerik:GridViewColumnGroup Name="Numer">
<telerik:GridViewColumnGroup.Header>
<TextBlock Text="Numer" HorizontalAlignment="Center" VerticalAlignment="Center" TextAlignment="Center" />
</telerik:GridViewColumnGroup.Header>
</telerik:GridViewColumnGroup>
(...)
</telerik:RadGridView.ColumnGroups>
And using it with column:
<telerik:GridViewDataColumn Name="col5" DataMemberBinding="{Binding Nazwa dokumentu}" Header="Wewnętrzny" Tag="nazwa" ColumnGroupName="Numer">
<telerik:GridViewDataColumn.AggregateFunctions>
<telerik:CountFunction Caption="Liczba dokumentów: "></telerik:CountFunction>
</telerik:GridViewDataColumn.AggregateFunctions>
</telerik:GridViewDataColumn>
Well, it does export to xml, but with this little problem: http://puu.sh/9g0pQ/c92b2e57f8.png
How can I export content (text) of textblock instead of System.Windows.Controls.TextBlock ?