This example shows how retrieve master detail view information from the controller for the nested list view. In particular, here we need to know the ID of the parent detail view to adjust our logic in the controller respectively.
There are MasterDetailViewControllerBase and NestedListViewControllerBase controllers that allow you to achieve this task. Your should inherit your controllers for nested list views from the last base controller, if you want to have a MasterDetailViewId for them.
In this instance, the MasterDetailViewControllerBase will provide the required parent view ID for it.
See Also:
How to: Access the Master Object from the Nested List View
Platform Independent way to determine Parent DetailView
FAQ: How to traverse and customize XAF View items and their underlying controls (describes an alternative approach with a Controller for the master DetailView that accesses its nested ListPropertyEditor)