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

How to process a CheckboxList multiple selection.

P: n/a

Hello,
Can someone guide me in how i may process a multiple selection on a
databound checkboxlist?
The checkboxlist is bound to a table of product category. The product
category id is an FK in the product list.

When multiple selction are made on the checkBoxList, how may i best process
the selection to retrive the corresponding products?
I have ides how to accomplish this, but i think there should be more
intuitive ways to do it.

Any comments will be highly appreciated.

Many thanks
JB
Nov 16 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Just loop through the Items collection and check if the ListItem's
Selected property returns true.

----
- Wilco Bauwer
Blog & Custom Controls @ http://wilcoding.xs4all.nl

Nov 16 '05 #2

P: n/a
> ----
- Wilco Bauwer
Blog & Custom Controls @ http://wilcoding.xs4all.nl


I was mostly thinking about how to query the database based on all these
reults.
I know how to retrieve the list of selected items and there ids.
Nov 16 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.