T
theycallmetish
hey. i'll get right into it. i've got a codebehind page and m
presentation page. i've got this code for my checkbox, which in theor
is supposed to (when checked) take the first and last name of th
filled out form and put the same text into two other textboxs furthe
down the page. here's the 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
<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 fo
'payableBox_CheckedChanged'
can anyone help
presentation page. i've got this code for my checkbox, which in theor
is supposed to (when checked) take the first and last name of th
filled out form and put the same text into two other textboxs furthe
down the page. here's the 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
<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 fo
'payableBox_CheckedChanged'
can anyone help