Hello,
This is my xaml code :-
It works and i get a proper drop down because I have DataTemplate defined and so i can see value of column
Thanks in advance:)
This is my xaml code :-
<
telerik:RadComboBox
Margin
=
"0,0,90,-1"
Grid.Row
=
"1"
d:LayoutOverrides
=
"Height"
ItemsSource
=
"{Binding EventList}"
Text
=
"{Binding Path=CurrentEvent.TitleOfEvent,Mode=TwoWay}"
IsEditable
=
"True"
TextSearchMode
=
"Contains"
DisplayMemberPath
=
"{Binding SiteTermsXItemsName}"
SelectedValuePath
=
"SiteTermsXItemsName"
>
<
telerik:RadComboBox.ItemTemplate
>
<
DataTemplate
>
<
TextBlock
Text
=
"{Binding SiteTermsXItemsName}"
/>
</
DataTemplate
>
</
telerik:RadComboBox.ItemTemplate
>
</
telerik:RadComboBox
>
It works and i get a proper drop down because I have DataTemplate defined and so i can see value of column
SiteTermsXItemsName
. However, when i select a value from the dropdown i get the default toString() of the Entity instead of displaying SiteTermsXItemsName in the combobox. What am i missing?Thanks in advance:)