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

CheckBoxList how to tell the last item selected?????

P: n/a
SD
Hello,

I'm banging my head against the wall on this issue. How can you tell which
checkbox was the last one clicked by the user?

..SelectedIndex simply returns the lowest ordinal value of thos checkboxes
selected.

I need to have this becaue I would lilke to clear all but one checkmark at
anyone time. There's got to be a way right

- Sd
Nov 20 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
You might want to consider using radio buttons if only one checkbox can be
selected at a time in the list.

"SD" <np****@nowhere.net> wrote in message
news:II****************@roc.nntpserver.com...
Hello,

I'm banging my head against the wall on this issue. How can you tell which
checkbox was the last one clicked by the user?

.SelectedIndex simply returns the lowest ordinal value of thos checkboxes
selected.

I need to have this becaue I would lilke to clear all but one checkmark at
anyone time. There's got to be a way right

- Sd

Nov 20 '05 #2

P: n/a
* "SD" <np****@nowhere.net> scripsit:
I'm banging my head against the wall on this issue. How can you tell which
checkbox was the last one clicked by the user?

.SelectedIndex simply returns the lowest ordinal value of thos checkboxes
selected.

I need to have this becaue I would lilke to clear all but one checkmark at
anyone time. There's got to be a way right


I would consider to use a group of option buttons or a combobox
instead of the checkedlistbox.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #3

P: n/a
Radio buttons or groupbox with checkboxes...

Telmo Sampaio

"SD" <np****@nowhere.net> wrote in message
news:II****************@roc.nntpserver.com...
Hello,

I'm banging my head against the wall on this issue. How can you tell which
checkbox was the last one clicked by the user?

.SelectedIndex simply returns the lowest ordinal value of thos checkboxes
selected.

I need to have this becaue I would lilke to clear all but one checkmark at
anyone time. There's got to be a way right

- Sd

Nov 20 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.