I have a RadComboBox that is being loaded from a MVVM pattern.
<telerik:RadComboBox x:Name="txtProduction"
DisplayMemberPath="Name"
ItemsSource="{Binding ProductionCenters}"
SelectedValuePath="ID"
/>
It is located on a Silverlight User Control
When the control is displayed, everything looks beautiful.
But when i try to Set the SelectedValue i cannot get it to work.
I have tried setting a routing on loading the control, but the items.count for my combobox is 0
I have even created a Loaded Event. Even after it fires the Items.Count for the ComboBox is 0.
After everything is displayed on my screen, my Count is "5"
How do i force the combo box to load, or set my SelectedValue AFTER the combobox has finished loading?
<telerik:RadComboBox x:Name="txtProduction"
DisplayMemberPath="Name"
ItemsSource="{Binding ProductionCenters}"
SelectedValuePath="ID"
/>
It is located on a Silverlight User Control
When the control is displayed, everything looks beautiful.
But when i try to Set the SelectedValue i cannot get it to work.
I have tried setting a routing on loading the control, but the items.count for my combobox is 0
I have even created a Loaded Event. Even after it fires the Items.Count for the ComboBox is 0.
After everything is displayed on my screen, my Count is "5"
How do i force the combo box to load, or set my SelectedValue AFTER the combobox has finished loading?