Event Sequence Wrong

Discussion in 'ASP .Net' started by Josh, Aug 17, 2005.

  1. Josh

    Josh Guest

    I'm stumped.

    I have three checkboxs on an Item of a datalist, they all post back. When I
    check one it unchecks the other two ( like a Radio Button).

    Each CheckedChanged Event sets the Checked Value of the other two check
    boxes to false.

    Lets call the CheckBoxes "1","2" and "4".

    When I Check "4" the Checked Changed event for "1" fires before the
    CheckedChanged for "4", which is the one I clicked.

    This weird behaviour happens no matter which checkbox is check, the event
    for a checkbox I've yet to change fires before the one one that causes it to
    happen.

    Any Ideas?
    Josh, Aug 17, 2005
    #1
    1. Advertising

  2. What is the setting for AutoPostBack? Are you using ItemCommand event?

    Eliyahu

    "Josh" <> wrote in message
    news:...
    > I'm stumped.
    >
    > I have three checkboxs on an Item of a datalist, they all post back. When

    I
    > check one it unchecks the other two ( like a Radio Button).
    >
    > Each CheckedChanged Event sets the Checked Value of the other two check
    > boxes to false.
    >
    > Lets call the CheckBoxes "1","2" and "4".
    >
    > When I Check "4" the Checked Changed event for "1" fires before the
    > CheckedChanged for "4", which is the one I clicked.
    >
    > This weird behaviour happens no matter which checkbox is check, the event
    > for a checkbox I've yet to change fires before the one one that causes it

    to
    > happen.
    >
    > Any Ideas?
    >
    >
    >
    >
    Eliyahu Goldin, Aug 17, 2005
    #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. Guadala Harry

    PostBack Event Firing Sequence

    Guadala Harry, Aug 15, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    4,019
    Bredal Jensen
    Aug 15, 2004
  2. =?Utf-8?B?SmF5?=
    Replies:
    3
    Views:
    956
    Kevin Spencer
    Dec 21, 2005
  3. Phillip N Rounds

    Question re Event Firing Sequence

    Phillip N Rounds, Mar 1, 2006, in forum: ASP .Net
    Replies:
    3
    Views:
    394
    Eliyahu Goldin
    Mar 5, 2006
  4. =?Utf-8?B?RGFiYmxlcg==?=

    event sequence

    =?Utf-8?B?RGFiYmxlcg==?=, Jul 17, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    486
    =?Utf-8?B?Y2xpY2tvbg==?=
    Jul 17, 2006
  5. stef mientki
    Replies:
    13
    Views:
    616
    stef mientki
    Oct 20, 2007
Loading...

Share This Page