I am using RadGridView for WPF 2012.3.1017.40
There is some issue with the column header depending on the type of XAML I invoked
When I use:
<telerik:GridViewDataColumn UniqueName="Year" Header="Year" />
The grid does persists with the expected header "Year"
However when I use:
<telerik:GridViewDataColumn UniqueName="Year" >
<telerik:GridViewDataColumn.Header>
<TextBlock Text="Year" />
</telerik:GridViewDataColumn.Header>
</telerik:GridViewDataColumn>
The following is injected into the persisted XML
<PV Key="12" TypeKey="-664072138">
<Value xsi:type="xsd:string"<System.Windows.Controls.TextBlock</Value>
</PV>
and instead of "Year" in the Column header the grid persists the words "System.Windows.Controls.TextBlock" into the header instead.
Please note, it appears to be an extra < being injected within the value element. However I need the word "Year" instead.
How can I fix this?
Thank you,
Alan Painter
There is some issue with the column header depending on the type of XAML I invoked
When I use:
<telerik:GridViewDataColumn UniqueName="Year" Header="Year" />
The grid does persists with the expected header "Year"
However when I use:
<telerik:GridViewDataColumn UniqueName="Year" >
<telerik:GridViewDataColumn.Header>
<TextBlock Text="Year" />
</telerik:GridViewDataColumn.Header>
</telerik:GridViewDataColumn>
The following is injected into the persisted XML
<PV Key="12" TypeKey="-664072138">
<Value xsi:type="xsd:string"<System.Windows.Controls.TextBlock</Value>
</PV>
and instead of "Year" in the Column header the grid persists the words "System.Windows.Controls.TextBlock" into the header instead.
Please note, it appears to be an extra < being injected within the value element. However I need the word "Year" instead.
How can I fix this?
Thank you,
Alan Painter