I am sure that this has been stated elsewhere but i cannot get this to work if the view is opened in a frame of a frameset. I am using the Notes Client, not a browser.
Initially i tried just ...
in the 'PostOpen' event of the view. Then i tried this in the 'PostOpen' event ...