You need to sign in to do that
Don't have an account?
Interacting between two controllers
I have included two VF pages in a single VF page. Now both of the pages have their own controller. Now I want when a button in page1 is clicked it will call the method in controller of Page2.
Is there any way to do so? Please help me.
You can use multiple extensions. Then you will be able to access a method in normal way.
OR
You can call the method page1.Then create a insance of page2's controller and call the method of page2 in there.
If a reply to a post answers your question or resolves your problem, please mark it as the solution to the post so that others may benefit.