You need to sign in to do that
Don't have an account?

How to popup a Vf Page From a Vf Page
Hai all
can any one explain me how to populate a vf page from a vf page for example i have two pages page1 and page2 in page1 we will be having one button open Page2 by clicking that page2 should populate in page1
Thanks in advance
can any one explain me how to populate a vf page from a vf page for example i have two pages page1 and page2 in page1 we will be having one button open Page2 by clicking that page2 should populate in page1
Thanks in advance
You can simply call one java script function onclick of your button and then you can use below code to open your VF page as popup there
Please implement the above and let me know if that works for you..
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.
Thanks,
Sandeep
Salesforce Certified Developer
Thanks,
http://karanrajs.com
As I understand, you wish to open Page2 within Page1 and not in a new window, on the click of a button. So to achieve this you can use the following VF Page scripts.
These are working test scripts. You just need to create two pages and one class with the contents.
Page 1 that has the button to include the following code -
ExampleController class used by Page 1 to include the following code -
Page 2 includes anything you wish to display. Like
Thanks
AR
If you find this reply useful that solves your query then please mark it as best to benefit others.