You need to sign in to do that
Don't have an account?
Simrin
After the control is back to the page, old values are displayed.
When i refresh the Page Manaully, i get the updated values.
How can i refresh the page from controller, so that i should avoid manual refresh
Refresh Page after save is executed
public with sharing class controller1{ public PageReference save() { /Manipulation return null; } }I get values form page and save data in database.
After the control is back to the page, old values are displayed.
When i refresh the Page Manaully, i get the updated values.
How can i refresh the page from controller, so that i should avoid manual refresh
and let us know one thing, are you using <apex:actionfunction> while calling your function?
Thanks,
Himanshu
All Answers
From where you calling this method?
Thanks,
Himanshu
Salesforce Certified Developer | Administrator | Service Cloud Consultant
P.S. If my answer helps you to solve your problem please mark it as best answer. It will help other to find best answer.
When i use below code ,
It get blank page with no errror displayed
and let us know one thing, are you using <apex:actionfunction> while calling your function?
Thanks,
Himanshu
My page had actionFunction, but your solution worked for me.
Thank you very much.