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

TextSearch.TextPath&DisplayMemberPath

1 Answer 134 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
jingtian
Top achievements
Rank 1
jingtian asked on 03 Sep 2010, 03:20 AM
Hi,
I've applied DisplayMemberPath ,SelectedValuePath,telerik:TextSearch.TextPath properties
Combobox in XAML looks like
<telerik:RadComboBox Margin="247,162,0,0" Name="radComboBoxDiagnosis"   
 EmptyText="Selected Items..." 
 DisplayMemberPath="Name"
 SelectedValuePath="Zddm"
 Style="{StaticResource RadComboBoxStyle}" telerik:TextSearch.TextPath="QueryName">
</telerik:RadComboBox>
Dropdown list is populated ok, but when I select an item in a dropdown and it closes my selected item looks like QueryName as you can see in an attached screenshots.

Am I doing something wrong or is this another bug?
Regards,
Dean

1 Answer, 1 is accepted

Sort by
0
Valeri Hristov
Telerik team
answered on 03 Sep 2010, 01:19 PM
Hi jingtian,

telerik:TextSearch.TextPath specifies the name of the property which value will be displayed in the TextBox when IsEditable = true, that's why RadComboBox displays the value of QueryName in its TextBox. If the attached property is not set, the control will use DisplayMemberPath instead.

Greetings,
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
jingtian
Top achievements
Rank 1
Answers by
Valeri Hristov
Telerik team
Share this question
or