You need to sign in to do that
Don't have an account?
Anil Savaliya
Remaing white space when visaulforce page making renderded false in account section
Hi,
I created section in account calls 'RelSci',and assiged visualforce page on that section,Rendering section only who has permission to use 'RelSci' function.When Visualforce page make rendered = 'False',In account view,RelSci visualforce page disapper but leaving white space,Any idea to remove white space?
Hi,
Include the section which needs to be rendered based on the condition in OutputPanel and use the rendered condition in "OutputPanel"
Hope this helps.
Thanks
Sureka
Hi,
The only way to avoid this type of issue is you need display that in the <apex:outputpanel> component,
Say for example, you have some of the fields inside a pageblock to be displayed based on the rendering option you need to give it in the following method,
<apex:page>
..............
//To avoid whitespaces if it disappears based on rendering option
<apex:outputPanel rendered="<your condition here>">
<apex:inputField value="{!object__c.field1__c}"/>
<apex:inputField value="{!object__c.field2__c}"/>
</apex:outputpanel>
.................
</apex:page>
Hope so this helps you...!
Please mark this answer a Solution and please give kudos by clicking on the star icon, if you found this answer as helpful.