+ Start a Discussion
Rajat Mahajan 21Rajat Mahajan 21 

Tab getting changed to Home Page Tab - on VisualForce Page change on command button

Hi All

Can someone please help me with this issue.
I am redirecting from one VF page to another. By doing so, the tab auto changes from the current one to Home Page tab.
Is there a way to stop this behaviour?

Thanks in Advance

Regards
Rajat
Best Answer chosen by Rajat Mahajan 21
Amit Chaudhary 8Amit Chaudhary 8

Please try tabStyle in VF page

<apex:page standardController="Account" tabStyle="Opportunity"> </apex:page>

Please let us know if this will help you

Thanks,
Amit Chaudhary