How to redirect save button to a Managed Installed visual force page. In UI Page, when save button is clicked it opens a popup window of installed managed vf page in it after selecting the options record will be saved. I am looking for the same operation on a visualforce page
Attribution to: rakesh
Possible Suggestion/Solution #1
You will have to create a new controller class which inherits the controller class for that page, and then override the Save() function to go to which ever page you want to redirect to. Another option is if you have control over the destination page, on the Page_Load event, you can test the ApexPage object to determine which page the user just came from, and if it's that page, then redirect them to the page you want to redirect them to.
Please let us know if this works. Thanks
Attribution to: sfMonkey
This content is remixed from stackoverflow or stackexchange. Please visit https://salesforce.stackexchange.com/questions/5440