troubleshooting Question

checkbox

Avatar of JCWEBHOST
JCWEBHOST asked on
ASPC#ASP.NET
2 Comments1 Solution528 ViewsLast Modified:
hey guys i am using this custom checkbox dll

<%@ Register assembly="EeekSoft.Web.Controls" namespace="EeekSoft.Web.Controls" 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.gif" Style="z-index: 100;" />


<%@ Register assembly="EeekSoft.Web.Controls" namespace="EeekSoft.Web.Controls" tagprefix="cc1" %>

and put the dll in the bin

i have not done the gloabal file but
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 2 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros