Hi,
I have a problem with binding to a ComboEditor. The ItemsSource is bound to xml data via a XmlDataProvider. The data contains elements each having an Id field and a Name field. The DisplayMemberPathof theCombo editor is set to Name and the ValuePath is set t Id. The Value property is bound to an Id field of my model object, which is bound to the datacontext of the window:
When the window is created I set its DataContext and expect the Editor to Display the Name content of the bound item with the respective Id. Unfortunately this doesn't work. The ComboEditor initially displays the Value of "Id" instead of "Name". Right at the moment I click the drow down button the text changes to the correct value.
I attached a sample app, which demonstrates the behavior. It also contains a classic WPF ComboBox which shows the expected behavior.
Did I miss something here? Is this a bug?
Ciao.
Hi Ciao,
I've been able to reproduce the issue. Thanks for providing the sample. It's entered into our bug tracking system. It will be resolved soon and available in an upcoming hotfix.
Sandip
Is there any update on when this will be fixed? Our group is desperately needing the fix.
Thanks,Wade Beasley
Flextronics