I am trying to build an application that contains several user controls. In one, I have a treeview that has been bound to a parent list and in another, I have a datagrid that is supposed to be bound to a child list, only after clicking on a parent item in the treeview.
My question is how to update the datacontext of the datagrid (that is in one usercontrol) by clicking on an item in the treeview (in another usercontrol)
Thanks