Activity Forums Salesforce® Discussions What is the difference between Render vs Rerender in Salesforce?

  • Aman

    Member
    August 8, 2017 at 12:32 pm

    Hello Shubham,

    Rendered :

    A visualforce component in a VF page can be displayed or hidden by using rendered attribute. Rendered is bound to a Boolean variable in controller which can be switched between true and false making the vf component display or hide depending on Boolean value.

    ReRender :
    Rerender is used to refresh a particular section of the visualforce page. We have to just mention the id of the page section (in the Rerender attribute) that needs to be refreshed.

    you can refer to this Link :

    http://sfdcsrini.blogspot.com/2014/08/what-is-difference-between-rendered.html

  • Parul

    Member
    September 16, 2018 at 3:01 pm

    render - Boolean value (if it is true, it displays the block else it will be hidden)

    ReRender : It is use after a ajax call, Is comonent will again check condition for that component.

     

    Thanks

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos