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

GridView Editing when Displaying Multiple Fields in one Column

3 Answers 199 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Melissa
Top achievements
Rank 1
Melissa asked on 25 Apr 2012, 07:06 PM
I have a gridview column for full name which is made up of two fields from a database (first name + last name). When I go to edit rows in the grid, I would like display text boxes for first name and last name instead of the concatenated full name which isn't something I can edit directly. Is there a way to do this with the radgridview?  I've done something similar with NestedViewTemplate on the web side, but I'm not sure how to create this type of funcationality with winforms. Any help would be appreciated!

3 Answers, 1 is accepted

Sort by
0
Accepted
Richard Slade
Top achievements
Rank 2
answered on 26 Apr 2012, 12:21 PM
Hi Melissa, 

You can do this by using a custom cell. Please have a look at the documentation at this link which will guide you through creating custom cells. 
Hope that helps
Richard
0
Stefan
Telerik team
answered on 30 Apr 2012, 11:14 AM
Hello guys,

@Melissa - Let us know if you have any difficulties implementing the custom cell with two text boxes.
 
Greetings,
Stefan
the Telerik team
RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
0
Melissa
Top achievements
Rank 1
answered on 30 Apr 2012, 05:14 PM
I think I'm good...thanks for the help!
Tags
GridView
Asked by
Melissa
Top achievements
Rank 1
Answers by
Richard Slade
Top achievements
Rank 2
Stefan
Telerik team
Melissa
Top achievements
Rank 1
Share this question
or