I use 2 different instances of the same user control in one UIRoot. This control has 2 data grids, when user double-clicks on a row in the first of them, a new row is added to the second data grid. View model locator is used to bind a command.
But both instances are bound initially to the first view model instance and then to the second one, as a result they are both bound to the second view model. So when I click on the first data grid in the first user control, a new row appears in the second control. Is there a way to fix this problem?