You need to sign in to do that
Don't have an account?
Lavanya Gottumukkala 8
When to use standard controller and when to use custom controller in a vf page?
Hi All,
I need some clarification on when to go for standardcontroller and when to go for custom controller exactly in a vf page.I have a lot of confusion on this.Before designing a vf page how can we know that which controller to use?Can anyone explain me with examples?
Thanks in advance
I need some clarification on when to go for standardcontroller and when to go for custom controller exactly in a vf page.I have a lot of confusion on this.Before designing a vf page how can we know that which controller to use?Can anyone explain me with examples?
Thanks in advance
Hope above link will help ypou get all teh detaisl reagrding these.
Contains the same functionality and logic that are used for standardSalesforce pages. Can be used with standard objects and custom objects.
Custom Controllers
Need finer control for how information is accessed for your page, you can write a custom controller or a controller extension using Apex. Only one Apex class is used. For more about custom controller go to this link :- https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_controller_def.htm