Take the 2-minute tour ×
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It's 100% free, no registration required.

How to redirect save button to a Managed Installed visual force page. In UI Page when save button is clicked it opens a pop up window of installed managed vf page in it after selecting the options record ill be saved. i am looking for same operation on visual force page

share|improve this question
2  
Where is the Save button you're referring to? On most pages, clicking Save does not open a popup window. Please clarify the context for your question. –  Jeremy Nottingham Dec 14 '12 at 14:53
    
Please provide some more info. –  Forceguru Dec 16 '12 at 5:23
add comment

1 Answer 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

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.