This is a migrated thread and some comments may be shown as answers.
GridViewDataColumn Header
1 Answer 8 Views
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 20 Jan 2015, 05:20 AM

I wish to use a TextBlock for display of a data column header.

This seems straightforward...

                    <telerik:GridViewDataColumn ColumnGroupName ="Group1" DataMemberBinding="{Binding ColumnOneBinding}" >
                        <telerik:GridViewDataColumn.Header>
                            <TextBlock Text="Hello" />
                        </telerik:GridViewDataColumn.Header>
                    </telerik:GridViewDataColumn>

...however, instead of displaying 'Hello' as would be expected. The display (in both design and runtime), is 'System.Windows.Controls.TextBlock'

If this is due to an older version of the Telerik controls, is there any fix, or is the only option to purchase the new controls?

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 20 Jan 2015, 02:45 PM
Hi David,

Please find my answer on your other  GridViewData Column Header forum thread for the same issue, as it is not WPF / Silverlight specific. In order to avoid double posting, I would kindly ask you to keep any further communication in the above thread or in this one.

Best Regards,
Stefan
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Asked by
David
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or