How to check whether user put a check in a toolbox CheckBox contro

Discussion in 'ASP .Net' started by JB, Aug 26, 2009.

  1. JB

    JB Guest

    Hello

    I have an ASP.Net web application written in C#. The html web page has
    a CheckBox control taken from the toolbox on it. I want to verify whether
    the user put a check in the CheckBox control. I can use either JavaScript or
    Codebehind but my question is:

    What does the code look like to check whether a user put a check in a
    CheckBox control?

    JB
    --
    JB
    JB, Aug 26, 2009
    #1
    1. Advertising

  2. JB

    Stan Guest

    Re: How to check whether user put a check in a toolbox CheckBoxcontro

    On 26 Aug, 23:49, JB <> wrote:
    > Hello
    >
    >     I have an ASP.Net web application written in C#.  The html web page has
    > a CheckBox control taken from the toolbox on it.  I want to verify whether
    > the user put a check in the CheckBox control.  I can use either JavaScript or
    > Codebehind but my question is:
    >
    > What does the code look like to check whether a user put a check in a
    > CheckBox control?
    >
    >     JB
    > --
    > JB


    A CheckBox control has a boolean property 'Checked' which can be
    tested during postback.
    Stan, Aug 27, 2009
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?TWFyY0RlVm9zLkJF?=

    Incorrect clientID for Calendar control as part of web user contro

    =?Utf-8?B?TWFyY0RlVm9zLkJF?=, Jul 20, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    338
    =?Utf-8?B?TWFyY0RlVm9zLkJF?=
    Jul 20, 2004
  2. =?Utf-8?B?U3JpZGhhcg==?=
    Replies:
    1
    Views:
    451
    =?Utf-8?B?RWx0b24gVw==?=
    Nov 18, 2005
  3. Guest
    Replies:
    4
    Views:
    6,509
    Walter Wang [MSFT]
    Jul 16, 2006
  4. =?Utf-8?B?RXRoYW4gU3RyYXVzcw==?=

    How can I gatherinformation from a dynamically created user contro

    =?Utf-8?B?RXRoYW4gU3RyYXVzcw==?=, Aug 28, 2007, in forum: ASP .Net
    Replies:
    2
    Views:
    349
    =?Utf-8?B?RXRoYW4gU3RyYXVzcw==?=
    Aug 29, 2007
  5. Pierre
    Replies:
    0
    Views:
    114
    Pierre
    Mar 2, 2005
Loading...

Share This Page