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

HeaderText

2 Answers 22 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Kenneth Jamieson
Top achievements
Rank 1
Kenneth Jamieson asked on 21 Oct 2009, 09:57 AM
In thefollowing grid, it seems that the HeaderText attribute is ignored. Why is that?

Sorry to ask, but the documentation is thin or I am missing something.

        <telerik:RadGridView Grid.Row="1" Name="pagesGridView" telerik:StyleManager.Theme="Vista" DataLoadMode="Synchronous" AutoGenerateColumns="False" CanUserInsertRows="False" CanUserFreezeColumns="False" UseAlternateRowStyle="True" ColumnsWidthMode="Auto" ShowGroupPanel="False">  
            <telerik:RadGridView.Columns> 
                <telerik:GridViewDataColumn  x:Name="IdColumn" HeaderText="Id"  Width="75" DataMemberPath="Id" IsReadOnly="True"  /> 
                <telerik:GridViewDataColumn  x:Name="StatusColumn" HeaderText="Link"  Width="200" DataMemberPath="LinkUrl" /> 
                <telerik:GridViewDataColumn  x:Name="Title" HeaderText="Name"  Width="*" DataMemberPath="Title" /> 
            </telerik:RadGridView.Columns> 
        </telerik:RadGridView> 

2 Answers, 1 is accepted

Sort by
0
Accepted
Vlad
Telerik team
answered on 21 Oct 2009, 10:31 AM
Hello,

Please use Header property instead. This property will be deleted completely for Q3. Same goes for DataMemberPath - you should change this to DataMemberBinding.

Best wishes,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Kenneth Jamieson
Top achievements
Rank 1
answered on 21 Oct 2009, 12:01 PM
Well, thats one solved ... lets see how my other thread fares :)

Thanks!
Tags
GridView
Asked by
Kenneth Jamieson
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Kenneth Jamieson
Top achievements
Rank 1
Share this question
or