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

DropDownList - Display Text using multiple fields

1 Answer 1208 Views
DropDownList
This is a migrated thread and some comments may be shown as answers.
Elliot
Top achievements
Rank 1
Elliot asked on 13 Aug 2015, 05:40 PM
I have a DropDownList bound to an array that has fields for firstName and lastName.  I would like the display text to be firstName + " " + lastName.  How would I go about doing this?  I am not sure it supports templates and it seems data-text-field can only be set to one field.

1 Answer, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 14 Aug 2015, 06:35 AM
Hi,

You can use template in case you want to apply template for the DropDown items and value template in case you want to apply it on the selected item text that.

Regards,
Plamen
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
DropDownList
Asked by
Elliot
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Share this question
or