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
window.location.reload()
window.location.reload(true)
Returning the page's url from a function.
public pagerefrence methodname(){ PageReference pr = new PageReference('/apex/VFPage'); pr.setRedirect(true); }