First off , I know the question looks very similar to the question here
But somehow the fixes suggested there arent working for me. So here goes. I have the following code in my aspx page :
<asp:TextBox ID="txtinput1" runat="server" Width="200px"
ontextchanged="txtinput1_TextChanged"></asp:TextBox>
But when I try the following code in my code behind:
protected void Page_Load(object sender, EventArgs e)
{
StemService.ServiceClient myClient = new StemService.ServiceClient();
string input = txtinput1.Text;
}
I get the error saying that 'txtinput1' does not exist in the context. For sake of completion here's my default.aspx https://gist.github.com/KodeSeeker/5217410.
P.S. Im a C# noob, so I may be missing something obvious.
EDIT: Designer.cs https://gist.github.com/KodeSeeker/5217484
EDIT 2: Default.aspx.cs: https://gist.github.com/KodeSeeker/5217517