I have a RadComboBox holding US State IDs. From the standpoint of user interaction it works fine. It is defined as follows:
<telerikInput:RadComboBox HorizontalAlignment="Left" IsEditable="True" x:Name="rmtbStateCode" Width="60" Margin="5" Grid.Column="1" Grid.Row="5" >
<telerikInput:RadComboBoxItem Content="AZ" />
<telerikInput:RadComboBoxItem Content="CA" />
</telerikInput:RadComboBox>
However if I try to set the selection in code as follows:
rmtbStateCode.SelectedValue = myZipCodeClass.ZipData.StateID;
It has no effect. In this case the StateID is "CA" but CA does not show selected.
How can I set it in code?
Thanks,
Gary