function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
rchadrchad 

Disable the Sidebar and Tabs in Visualforce page.

Hi,
Can anyone tell about, how to disable the Sidebar and Tabs in Visualforce page, so that only contents can display. As, I want to display  Visualforce page through S-Control. Please give your solutions.


Thanks
JeremyKraybillJeremyKraybill
Look at the component reference for the apex page component, it has attributes to disable the header and sidebar.

Jeremy Kraybill
Austin, TX
MohanaGopalMohanaGopal
Hi..
 
        Use Page tag sidebar and  showheader attribute
 
<apex:page sidebar="false" showheader="false">
 
If u r calling it from s-control use window.open() function or some other fn..
 
 
window.location.href = '/apex/ur_vf_name';
rchadrchad
Hi,
Thanks for your suggestion. It worked.
 
:)
 
 
Message Edited by rchad on 01-21-2009 10:54 AM