In my project I've created a component (Silverlight WCF component) that connects to a database, gets data from there and shows the data in a listbox. It works async and responds to the INotifyPropertyChanged event in order to show the data. The component
displays itself in a region on the UI.
In another project, intended to handle all the UI, I have a Shell with some regions. The ViewModel is responsible for instatiating the component like so:
As New SLComponent.Component1
MyComponent.Initialize '//This is where the component does it's own work
It works async and responds allright. I know that, because in Fiddler, I see the XML data filled with the desired information. But the component and the empty listbox show up in the intended Region, yet the listpart of the listbox remains empty. I have set
the DisplayMemberPath to one of the properties of the object that is shown.
Does anyone have any suggestions on how to get the UI responding to the async update of the component?