+ Start a Discussion
Vitalii Kaigorodtsev 7Vitalii Kaigorodtsev 7 

Redirect from page layout visualforce section to visualforce tab, home page or refresh entire detail page.

Hello! I'm new in visualforce and need help.
How to resolve this bug? PageReference works but everything is going in page layout section. 
User-added image
 

SF_MonkeySF_Monkey
Use the target of the page reference as _parent.
so if you are using an output link
<apex:outputLink value="{!URLFOR($Action.Prospecting_Activity__c.Edit,e.id)}" target="_parent" style="font-weight: bold;">Edit</apex:outputLink>

the target attribute will define how it is going to load