Procedure OnBeforeShow
This event is fired before the view is shown.
When this event fires, the view is in sync but not rendered. You can use this event to initialize buffers by performing finds and to change web properties using WebSet. This is also the event where you would restore data from the custom state hash (see: OnDefineCustomStateHash).