+ Start a Discussion
tulasiram chtulasiram ch 

why im getting these error of constructor not visible

User-added imageUser-added imageUser-added imageUser-added image
Best Answer chosen by tulasiram ch
@Karanraj@Karanraj
You must declare controller extension constructor as public
public candidateSurveyFormController(ApexPages.StandardController stdController) {
  //Your logic
}

 

All Answers

@Karanraj@Karanraj
You must declare controller extension constructor as public
public candidateSurveyFormController(ApexPages.StandardController stdController) {
  //Your logic
}

 
This was selected as the best answer
geeta garggeeta garg
Hi,
You can try this :-

public candiadateSurveyFormController(ApexPages.standardController cntr)
{
candRec=(Candidate__c)cntr.getRecord();
}


at the place of:-
candiadateSurveyFormController(ApexPages.standardController cntr)
{
candRec=(Candidate__c)cntr.getRecord();
}

Thanks

 
tulasiram chtulasiram ch
thanks ...