Amresh S

Amresh S

  • NA
  • 437
  • 16.3k

Assigning myComboBox.SelectedValue=myValue; does'nt work?

Dec 2 2016 7:16 AM
Hi All,
 
I trying to assign the value to be selected value in the combooBox in Universal windows. The problem is, when I assign the value (already in the item source) to the SelectedValue to the comboBox, it does'nt gets selected. But, when i assign the respective value's index in "SelectedIndex" property, it works fine.
 
I done this same in WPF and it works in both ways.
 
Does anyone face such kind of same issues? If so, kindly share your ideas to overcome it.
 
Thanks & Regards,
 Amresh S. 

Answers (3)