LLBL 3.1, SelfServicing, .Net 4.0
I have an observablecollection<IEntity> of objects on my viewmodel. I've bound the ItemsSource to my viewmodel property in xaml. I've also set DisplayMemberPath and SelectedValuePath. All I get is a combobox that drops down the same typename of my bound objects over and over again.
If I create a datatemplate and use the same property as DisplayMemberPath in a TextBlock, now the correct value is displayed. But, I need to make it work setting DisplayMemberPath since I can do that from code easily.
Seems this happens to a lot of people, and there are always two options. Use DataTemplates or set DisplayMemberPath. Why won't DisplayMemberPath work for me?