Skip to main content
added 10 characters in body
Source Link
battery.cord
  • 8.9k
  • 8
  • 32
  • 59

How tocan I refresh VF pages After Savea visualforce page after the save button hit.

Ion the page is clicked? I've tried different way but didn't work.

a few methods, and none have provided the behavior I try on oncomplete event

1: "window.location.reload()"

2: window.locationam looking for.reload(true)

3: also return Same Url in Controller like

public pagerefrence methodname(){
    PageReference pr = new PageReference('/apex/VFPage');
    pr.setRedirect(true);
}

but didn't work. any Help appreciate thanks

  1. window.location.reload()

  2. window.location.reload(true)

  3. Returning the page's url from a function.

     public pagerefrence methodname(){
         PageReference pr = new PageReference('/apex/VFPage');
         pr.setRedirect(true);
     }
    

How to refresh VF pages After Save button hit.

I tried different way but didn't work.

I try on oncomplete event

1: "window.location.reload()"

2: window.location.reload(true)

3: also return Same Url in Controller like

public pagerefrence methodname(){
    PageReference pr = new PageReference('/apex/VFPage');
    pr.setRedirect(true);
}

but didn't work. any Help appreciate thanks

How can I refresh a visualforce page after the save button on the page is clicked? I've tried a few methods, and none have provided the behavior I am looking for.

  1. window.location.reload()

  2. window.location.reload(true)

  3. Returning the page's url from a function.

     public pagerefrence methodname(){
         PageReference pr = new PageReference('/apex/VFPage');
         pr.setRedirect(true);
     }
    

How to refresh VF pages After Save button hit.
i try diffrent

I tried different way but didn't work. 

I try on oncomplete event
 

1: "window.location.reload()"
2

2: window.location.reload(true) 3

3: also return Same Url in Controller like
public pagerefrence methodname(){

PageReference pr = new PageReference('/apex/VFPage');

pr.setRedirect(true); }

public pagerefrence methodname(){
    PageReference pr = new PageReference('/apex/VFPage');
    pr.setRedirect(true);
}

but didn't work. any Help appreciate thanks

How to refresh VF pages After Save button hit.
i try diffrent way but didn't work. I try on oncomplete event
 

1: "window.location.reload()"
2: window.location.reload(true) 3: also return Same Url in Controller like
public pagerefrence methodname(){

PageReference pr = new PageReference('/apex/VFPage');

pr.setRedirect(true); }

but didn't work. any Help appreciate thanks

How to refresh VF pages After Save button hit.

I tried different way but didn't work. 

I try on oncomplete event

1: "window.location.reload()"

2: window.location.reload(true)

3: also return Same Url in Controller like

public pagerefrence methodname(){
    PageReference pr = new PageReference('/apex/VFPage');
    pr.setRedirect(true);
}

but didn't work. any Help appreciate thanks

Source Link
Sfdce
  • 33
  • 1
  • 8

Refresh VF page

How to refresh VF pages After Save button hit.
i try diffrent way but didn't work. I try on oncomplete event

1: "window.location.reload()"
2: window.location.reload(true) 3: also return Same Url in Controller like
public pagerefrence methodname(){

PageReference pr = new PageReference('/apex/VFPage');

pr.setRedirect(true); }

but didn't work. any Help appreciate thanks