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

GridViewDataColumn not showing HeaderText

2 Answers 52 Views
GridView
This is a migrated thread and some comments may be shown as answers.
JDB
Top achievements
Rank 1
JDB asked on 14 Jul 2009, 02:00 PM
Hi,

If I have a grid like this:

<telerik:RadGridView Name="radGridView1" AutoGenerateColumns="False">  
   <telerik:RadGridView.Columns> 
      <telerik:GridViewDataColumn HeaderText="Name" UniqueName="Name" /> 
      <telerik:GridViewDataColumn HeaderText="Testabc 1" DataMemberPath="Test1"/>  
      <telerik:GridViewDataColumn HeaderText="Testabc 2" DataMemberPath="Test2"/>  
      <telerik:GridViewDataColumn HeaderText="Testabc 3" DataMemberPath="Test3"/>  
   </telerik:RadGridView.Columns> 
</telerik:RadGridView> 
  the column headers don't show the text in HeaderText, but the UniqueName or DataMemberPath text.

2 Answers, 1 is accepted

Sort by
0
Accepted
Missing User
answered on 14 Jul 2009, 02:33 PM
Hello RVW,

With our Q2 2009 we introduced new column property Header (of type object) similar to MS DataGrid and now HeaderText is obsoleted.

Regards,
Anastasia
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
JDB
Top achievements
Rank 1
answered on 14 Jul 2009, 02:42 PM
Hi Anastasia,

Thanks for the fast response. I didn't find anything in the Release notes about that change though.
Tags
GridView
Asked by
JDB
Top achievements
Rank 1
Answers by
Missing User
JDB
Top achievements
Rank 1
Share this question
or