I am having troubles trying to get something displayed... One would think that the issue I'm having should be pretty straight forward in implementation, but I can't seem to figure it out... In my ViewModel, I have two observable collections: BadgeHistory collection and a CardStatus collection. The BadgeHistory collection contains objects of an entity that has a property of a CardStatusID. The CardStatus collection is a simple entity of an ID and Status string name.
Here is my ViewModel code:
Here's my View:
In my View I have a RadGridView with the columns specified. I have set the ItemSource of the grid to the BadgeHistory collection and for one of the columns I specified as a GridViewComboBoxColumn. For the life of me, I can't seem to get it to display the correct stuff... Right now as it stands, the column displays empty, but IT is a combobox, so I can select it and see all of the defined cardstatuses. However, the initial data in the BadgeHistory collection has various values in it's CardStatusID field, and NONE of those are displaying!!! Also when I do select a value for a particular row, it shows up, but as soon as I try and edit a different row, the previous row's value disappears!!!
Any clue as to how do I get the rows to display the CardStatus string values from the second collection??? What am I doing wrong here??? I'm pretty sure this is something simple that I'm overlooking...
Thanks in advance,