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

How can I show Two fields in one column?

1 Answer 39 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Ankit
Top achievements
Rank 1
Ankit asked on 24 Apr 2011, 03:26 PM
Hello,

How I have two different fields in my database, FirstName and LastName. How can I bind 2 columns in 1 GridViewColumn?

 <telerik:GridViewDataColumn MinWidth="200"  DataMemberBinding="{Binding Path=FirstName}">
                    <telerik:GridViewColumn.Header>
                        <TextBlock Text="Name" Foreground="White"/>
                    </telerik:GridViewColumn.Header>
                </telerik:GridViewDataColumn>

1 Answer, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 25 Apr 2011, 07:22 AM
Hello Ankit,

 
Please refer to the following online help article "Bound-Unbound columns".

Greetings,
Vanya Pavlova
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
Ankit
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Share this question
or