function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ram ArzaRam Arza 

Can I have 2 standard controller on a single visualforce page. If yes, Can someone explain.

Hello Community,

Can I have 2 standard controller on a single visualforce page. If yes, Can someone explain. If not, Can someone explain me what is the use of multiple extensions.
David Catindoy 101David Catindoy 101
Having 2 standard controllers in a single Visualforce page is not possible. If you badly need to get other custom or standard object records (aside from the one that you've specified in your standard controller), you can actually use controller extension to do that. Here's the link (https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_controller_extension.htm) that you might check to have a better grasp of what controller extension is all about and how to use it.