By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,905 Members | 1,616 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,905 IT Pros & Developers. It's quick & easy.

Event Sequence Wrong

P: n/a
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?


Nov 19 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
What is the setting for AutoPostBack? Are you using ItemCommand event?

Eliyahu

"Josh" <s@a.com> wrote in message
news:eK**************@TK2MSFTNGP14.phx.gbl...
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?

Nov 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.