How to display a grid with a Record Beam in a Form View

This is similar as discussed in "How to display a grid with a Record Beam in a Dialog" with the difference that .in a form view you should override OnInitialUpdate instead of OnInitDialog.