You need to sign in to do that
Don't have an account?

Newbie question: Trouble with Force.com for ASP.NET Developers
I am trying to follow the tutorial Force.com for ASP.NET Developers posten on the WIki at: http://wiki.apexdevnet.com/index.php/Force.com_for_ASP.NET_Developers. I get stuck in trying to create the first VisualForce page, and I suspect there's a preceding step missing that I have not done.
When I enter the code, I am supposed to get challenged 3 times to createan Apex class and 2 Apex methods. I never get this message: Create Apex method 'leadLookupController1.getSearchString' -- instead I get a message Error: Unknown property 'searchString'.
<apex:page controller="leadLookupController">
<apex:form>
<apex:pageBlock title="Lead Search">
<apex:outputLabel value="Email" />:
<apex:inputText value="{!searchString}" />
<apex:facet name="footer">
<apex:outputPanel>
<apex:commandButton action="{!step2}" value="Search" />
</apex:outputPanel>
</apex:facet>
</apex:pageBlock>
</apex:form>
</apex:page>
Thanks in advance for your assistence.
Chris - I completed the Visualforce part of that tutorial successfully. I ran into the same problem, where I was not prompted to add the method for getSearchString. I just went to the Apex class for leadLookupController and added the method:
public String getSearchString() { return emailString ; }
Once I did that I stopped getting the error.
All Answers
Chris - I completed the Visualforce part of that tutorial successfully. I ran into the same problem, where I was not prompted to add the method for getSearchString. I just went to the Apex class for leadLookupController and added the method:
public String getSearchString() { return emailString ; }
Once I did that I stopped getting the error.