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

Combobox column

2 Answers 29 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Thomas
Top achievements
Rank 1
Thomas asked on 24 Nov 2009, 10:40 AM
Hi.

At the moment I can only show one property in the gridviewcomboboxcolumn; the property name I assign to the displaymemberpath.

What I like to do, is to show a datatemplate where I use a combination of several properties of the itemssource e.g. Firstname and Lastname. Is this possible?

Thanks,

Thomas

2 Answers, 1 is accepted

Sort by
0
Rossen Hristov
Telerik team
answered on 27 Nov 2009, 08:30 AM
Hi Thomas,

You can add a new read-only property to your business object class which will return FirstName + LastName and set this property as the DisplayMemberPath.

Regards,
Ross
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
Thomas
Top achievements
Rank 1
answered on 30 Nov 2009, 07:02 AM
Hi,

Yes, that's a very good idea.

Thanks,
Thomas

Tags
ComboBox
Asked by
Thomas
Top achievements
Rank 1
Answers by
Rossen Hristov
Telerik team
Thomas
Top achievements
Rank 1
Share this question
or