Hi am using wpf mvvm am able to bind combobox value for the first time but when i close the window and click again am not able to get the combobox value binded.
This is my view Model code
private async void LoadData()
{
//getting all volumeunits (kgs, cc in dropdown)
LstUnit = ProHelper.GetVolumeUnits();
} and xaml code
SelectedValue="{Binding JobRegister.BookingAssociate.VolumeUnit , UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
SelectedValuePath="Description" ItemsSource="{Binding LstUnit, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}">
Waiting for the reply as soon as posiible .
Thanks In Advance
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Shweta LodhaRank #31 · 39.8K reputationPosted Aug 26, 2018, 5:16 PM EDT