I have a gridview column that looks like this...
<telerikGridView:GridViewComboBoxColumn |
Header="Title" |
UniqueName="Title" |
DisplayMemberPath="Title" |
SelectedValueMemberPath="" |
DataMemberBinding="{Binding CmsPlayerVideo}" |
GroupMemberPath="CmsPlayerVideo.Title" |
SortMemberPath="CmsPlayerVideo.Title" |
Width="*" |
IsGroupable="False" |
IsSortable="True" |
IsFilterable="True" |
IsReadOnly="False" |
> |
What I need to do is display a compound value in the combobox as the title is not guarenteed unique and it makes selection difficult. In another part of the code I have a normal Silverlight combobox that I customize this way...
<ComboBox x:Name="cbPlayer" SelectedItem="{Binding CmsPlayer, Mode=TwoWay}"> |
<ComboBox.ItemTemplate> |
<DataTemplate> |
<StackPanel Orientation="Horizontal"> |
<TextBlock Text="{Binding LastName}" /> |
<TextBlock Text=", " /> |
<TextBlock Text="{Binding FirstName}" /> |
<TextBlock Text=" - " /> |
<TextBlock Text="{Binding Email}" /> |
</StackPanel> |
</DataTemplate> |
</ComboBox.ItemTemplate> |
</ComboBox> |
What would be the similar construct for use within the RadGrid?
Ken