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

ItemTemplate / SelectedValuePath / DisplayMemberPath

1 Answer 242 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Kakone
Top achievements
Rank 1
Kakone asked on 24 May 2011, 03:29 PM
Hi,

I have a  problem with the editable combobox. The SelectedValuePath property is set to the 'Identifier' property of my business object. In the textbox of the editable combobox, I would like to show the 'Label' property, not the 'Identifier'. But, as the ItemTemplate property of the ComboBox is defined, I can't set the DisplayMemberPath property.

I didn't find any solution. How can I do this ?

Cordially,
Kakone.

1 Answer, 1 is accepted

Sort by
0
Accepted
Valeri Hristov
Telerik team
answered on 25 May 2011, 09:54 AM
Hello Kakone,

You need to set the telerik:TextSearch.TextPath attached property. Please, check the following online demo for an example:
http://demos.telerik.com/silverlight/#ComboBox/DataBinding

Best wishes,
Valeri Hristov
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
ComboBox
Asked by
Kakone
Top achievements
Rank 1
Answers by
Valeri Hristov
Telerik team
Share this question
or