You need to sign in to do that
Don't have an account?

How to hide a blocksection onload of a VF Page?
In VF Page, On click of a button, I need to show a pageblock section with id="wanttohidethispageblock", which has table content in it.
By default, the pageblocksection appears due to obvious reason its not hidden.
How can I hide this pageblock section with id="wanttohidethispageblock" on VF page onload.
Thanks.
By default, the pageblocksection appears due to obvious reason its not hidden.
How can I hide this pageblock section with id="wanttohidethispageblock" on VF page onload.
Thanks.
Controller:
Page:
All Answers
Controller:
Page:
What I did apart from this working peice of code is set the hideSec = true on click of the button which I wanted. And voila! Its working.
Thanks again.