i am using stadardcontroller Opportunity on my visualforce page but my concern is i don't want to reload that Opportunity detail page when i click on Save Button...

Code :

<apex:commandButton value="Save" action="{!Save}" reRender="Pb1" />

What should i need add in this line ?

Help me out....


2 Answers 2


try action="{!quickSave}" Standard Controller action

  • Cool....it's Working, Now it's not reload the whole detail page.. Thanks a ton :)
    – Nihar
    Mar 30, 2016 at 23:03
  • @Olejsiy can we have same thing for Edit action ??
    – Nihar
    Apr 1, 2016 at 18:52
  • Edit on standard page layout? I afraid you have no control on this.
    – o-lexi
    Apr 1, 2016 at 19:06
  • ohhh. ACtually the thing is i have two pageBlocksection and i put QuickSave action on first PageBlocksection and it's working fine and rerender it on the next pageBlocksection but Now, i want one button on Second pageBlocksection with Name Edit and that button must rerender the first pageBlocksection with Edit Mode...is it Possible ?
    – Nihar
    Apr 1, 2016 at 19:25
  • You better to create another question, and provide some code
    – o-lexi
    Apr 1, 2016 at 20:58

Put rerender="nothing", where "nothing" is an invalid element Id if you don't want to rerender anything on the page. Also, make sure you override the Save method and change the return type to be void and not PageReference.

  • 1
    but i already used reRender in my code line
    – Nihar
    Mar 30, 2016 at 22:49

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .