hey. i'll get right into it. i've got a codebehind page and my presentation page. i've got this code for my checkbox, which in theory is supposed to (when checked) take the first and last name of the filled out form and put the same text into two other textboxs further down the page. here's the code
Code:
public void payableBox_CheckedChanged(Object sender, EventArgs e)
{
if (payableBox.Checked)
{
payfname.Text = fn.Text;
paylname.Text = ln.Text;
}
else
{
payfname.Text="";
paylname.Text="";
}
}
and
Code:
<asp:checkbox id="payableBox" Text="Same Address as above" OnCheckedChanged="payableBox_CheckedChanged" checked="false" AutoPostBack="true" runat="server"></asp:checkbox>
i keep on getting this compile error
CS0117: 'ASP.signup_aspx' does not contain a definition for 'payableBox_CheckedChanged'
can anyone help?