I've customized the Account Detail page by adding a VF (child) page to the Account layout.
On the child page I've added a CommandButton which is bound to a method which returns a page reference to a another page, with setRedirect(true).
PageReference pr = Page.CustomSearch; pr.setRedirect(true); return pr;
However, when I click the button to redirect to CustomSearch page, only the portion in which the child page is displayed is updated with the contents of the CustomSearch page.
How do I force it to redirect the browser, instead of doing the partial update?