Hi,
<DataTemplate x:Key="ComboBoxTemplate">
<StackPanel Orientation="Horizontal">
<TextBlock Text="{Binding Path=ClientId}" ></TextBlock>
<TextBlock Text=" - "></TextBlock>
<TextBlock Text="{Binding Path=ClientName}"></TextBlock>
</StackPanel>
</DataTemplate>
But when my form loads there is no ClientId or ClientName selected and correctly shows nothing....but it does show the dash. i.e. " - ".
I want it to just show nothing so that the user has't to select from the combobox. I could insert "please select - " but I'd rather have a clean empty selection to start with.
This worked ok when I used a standard combobox.
Thanks Phil.
Code for the combobox creation:
<Controls:RadComboBox Name="cb"
telerik:TextSearch.TextPath="ClientName"
ItemTemplate="{StaticResource ComboBoxTemplate}"/>