I have a ViewModel for a "parent" control which displays two grids. The first grid has parent information and the second grid displays the related children for the selected parent.
This works fine without a hitch. However the issue is that I have to provide an update button. Upon clicking it, the user will see the children of the selected parent and opt to delete them or not. THis is done via a child window, containing the same grid that displays the related children, however the grid is in "Enabled" mode.
So the question is what pattern to use with MVVM to: 1) get the child window's data? 2) upon successful update within the child window, update the parent?
Thanks,