JCWEBHOST
asked on
checkbox
hey guys i am using this custom checkbox dll
<%@ Register assembly="EeekSoft.Web.Con trols" namespace="EeekSoft.Web.Co ntrols" tagprefix="cc1" %>
but i can not seem to code for the checked and uncheck in c#
i did every thing like they said, the pictures change off and on but the code when i press the button to check if the button is check or not does not work.
please help
my c# code
if (Gauteng.Checked)
{
E.Body = EmailBody(txtName.Text, txtCom_Name.Text, txtTelNo.Text, txtEmail.Text);
E.Subject = "iOrganise Monthly Newsletter";
E.To = "ritesh@jcweb.co.za";
if (E.SendMail() != "")
{
count = 0;
}
else
count = 2;
}
aspx page
<cc1:GraphicalCheckBox ID="Gauteng" runat="server" CheckedImg="images/on.gif" Text="Gauteng" Title="" UncheckedImg="images/off.g if" Style="z-index: 100;" />
<%@ Register assembly="EeekSoft.Web.Con trols" namespace="EeekSoft.Web.Co ntrols" tagprefix="cc1" %>
and put the dll in the bin
i have not done the gloabal file but
<%@ Register assembly="EeekSoft.Web.Con
but i can not seem to code for the checked and uncheck in c#
i did every thing like they said, the pictures change off and on but the code when i press the button to check if the button is check or not does not work.
please help
my c# code
if (Gauteng.Checked)
{
E.Body = EmailBody(txtName.Text, txtCom_Name.Text, txtTelNo.Text, txtEmail.Text);
E.Subject = "iOrganise Monthly Newsletter";
E.To = "ritesh@jcweb.co.za";
if (E.SendMail() != "")
{
count = 0;
}
else
count = 2;
}
aspx page
<cc1:GraphicalCheckBox ID="Gauteng" runat="server" CheckedImg="images/on.gif"
<%@ Register assembly="EeekSoft.Web.Con
and put the dll in the bin
i have not done the gloabal file but
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER