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 

Render And Rererender

Hi All,

           Can anybody explain in detail about render and rerender in visualforce.Also in what scenario both can be used.

            Just help me in clearing the concept of both as i am newer to salesforce.


     With Regards

      prabhash Mishra


Render is an attribute that determines whether or not a component is displayed on the screen - so, for example, you could only display a field for editing if an earlier field was correctly populated.


Rerender specifies the components that should be redrawn after an apex request completes.  So, for example, once the user has chosen an option from a picklist, you could redraw a later section to display only the fields that are appropriate to that picklist option.