+ Start a Discussion
Eren MitashiEren Mitashi 

can we call more than one apex controller in vfpage, If yes then how?

I tried to fetch multiple class in a vf page but don't get idea how to fetch it Please help me?
VinayVinay (Salesforce Developers) 
Hi Eren,

You can use extensions with custom controllers.
<apex:page controller="testcontroller" extensions="controller1, contoller2">


Hope above information was helpful.

Please mark as Best Answer so that it can help others in the future.

Akshay Dhiman 63Akshay Dhiman 63
Hi Eren,

Yes, We can call multiple apex controller from vf page just by putting controller="Class_Name1,Class_Name2,Class_Name3".

Hope this explanation will resolve your query. Mark it as the best answer if you find it helpful.