This question is locked. New answers and comments are not allowed.
When I set the Header in my GridViewDataColumn it is ignored and the UniqueName displays as the Header. If I use a GridViewColumn the Header displays. Why would headers work for GridViewColumns but not GridViewDataColumns? For my implementation I need to be able to use GridViewDataColumns.
This works. The header is displayed as "TestHeader":
This does not work. The header switches to "LinkColumn" once the data is bound to the grid:
This works. The header is displayed as "TestHeader":
<
telerik:GridViewColumn
UniqueName
=
"LinkColumn"
>
<
telerik:GridViewColumn.Header
>
<
TextBlock
Text
=
"TestHeader"
/>
</
telerik:GridViewColumn.Header
>
</
telerik:GridViewColumn
>
This does not work. The header switches to "LinkColumn" once the data is bound to the grid:
<
telerik:GridViewDataColumn
UniqueName
=
"LinkColumn"
DataMemberBinding
=
"{Binding MasterHyperlinkColumn}"
>
<
telerik:GridViewDataColumn.Header
>
<
TextBlock
Text
=
"TestHeader"
/>
</
telerik:GridViewDataColumn.Header
>
</
telerik:GridViewDataColumn
>