This question is locked. New answers and comments are not allowed.
Hi,
I've applied this datatemplate to a combobox itemtemplate
Dropdown list is populated ok, but when I select an item in a dropdown and it closes my selected item looks like MyClassLibrary.MyTypeName as you can see in an attached screenshots.
Combobox in XAML looks like
Am I doing something wrong or is this another bug?
Regards,
Zarko
I've applied this datatemplate to a combobox itemtemplate
| <DataTemplate x:Name="DataTemplateComboBoxMain"> |
| <Grid x:Name="GridDataTemplate"> |
| <TextBlock> |
| <TextBlock.Text> |
| <Binding Path="PostName"></Binding> |
| </TextBlock.Text> |
| </TextBlock> |
| <TextBlock> |
| <TextBlock.Text> |
| , |
| </TextBlock.Text> |
| </TextBlock> |
| <TextBlock> |
| <TextBlock.Text> |
| <Binding Path="PostCode"></Binding> |
| </TextBlock.Text> |
| </TextBlock> |
| </Grid> |
| </DataTemplate> |
Dropdown list is populated ok, but when I select an item in a dropdown and it closes my selected item looks like MyClassLibrary.MyTypeName as you can see in an attached screenshots.
Combobox in XAML looks like
| <telerik:RadComboBox x:Name="ComboBoxMain" |
| ItemTemplate="{StaticResources DataTemplateComboBoxMain}" |
| Height="25" |
| Width="Auto" |
| FilteringMode="None" |
| SelectionChanged="ComboBoxMain_SelectionChanged" |
| IsTextSearchEnabled="False" |
| IsEditable="True" |
| KeyUp="ComboBoxMain_KeyUp"> |
| </telerik:RadComboBox> |
Am I doing something wrong or is this another bug?
Regards,
Zarko