You need to sign in to do that
Don't have an account?
jo dev
<apex:page controller="sample" tabstyle="sampletab__tab">
<script type="text/javascript">
location.href = '/jodev19/0019000000vh5Xh';
</script>
</apex:page>
i tried this one..But the tab style didn't work after reloading the page...Any idea??
how to set tab style after redirecting another url using visual force page in customer portal???
<apex:page controller="sample" tabstyle="sampletab__tab">
<script type="text/javascript">
location.href = '/jodev19/0019000000vh5Xh';
</script>
</apex:page>
i tried this one..But the tab style didn't work after reloading the page...Any idea??
if i click on that tab..it will show the page content..but here m redirecting the required URL after page load...tats why i can't get tabstyle...
i tried what u said,
<script type="text/javascript">
location.href='/apex/0019000000vh5Xh?sfdc.tabName=01r90000000DfCS';
</script>
Looking at your original post, the ID in the URL of 0019000000vh5Xh equates to an account (as accounts have the prefix 001). If that is the case and it is a standard account view page you can't influence the tab that is displayed, the platform will display the tab according to the standard style that you can't override.