Hi All,
I'm trying the different ways to Set the SelectedItem to WPF telerik:RadComboBox after load the data and this is still showing the default option empty.
I'm loading the data from my ViewModel (MVVM). Any ideas?
<telerik:RadComboBox x:Name="ActionList" DisplayMemberPath="Name" Grid.Column="1" Grid.Row="0"
ItemsSource="{Binding ActionList, UpdateSourceTrigger=PropertyChanged}"
SelectedItem="{Binding SelectedAction, Mode=TwoWay}"
IsEditable="True" IsReadOnly="True" telerik:TextSearch.TextPath="Name"
MinWidth="120" />
View Model:
private ActionModel _selectedAction;
public AtionModel SelectedAction
{
get { return _selectedAction; }
set { _selectedAction = value; NotifyOfPropertyChange(() => SelectedAction); }
}