I already have in my Visualforce page the following:
<apex:page Controller="CandidateController" >
if I add to this:
<apex:page standardController="Candidate__c" Controller="CandidateController"
getting this error:
Error Error: A custom and standard controller cannot be referenced in the same page.
How do you wire-up the custom Visualforce page to a default button? what I meant is that if you click on the New
or New Candidate
as shown in the below screen shots it gives me the standard page layout but instead I want to override to the Visualforce page.