472,145 Members | 1,614 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,145 software developers and data experts.

Problem Retrieving Values from CheckboxList nested inside Datalist Control

I have a Datalist control on my page that I have binded to a table of
available categories. In the Item Template I have a CheckboxList control
bound to the products available in each Category. I need to pull out of the
page which products the user has selected.

I have bound the products to the CheckboxList control in the ItemDataBound
event for the Datalist.

How can I extract what checkboxes have been selected inside the Datalist?

Thanks,

Mike
Jan 12 '06 #1
1 2085
CheckBoxList list =(CheckBoxList )
e.Item.FindControl("MyListIDorwhateveryounamedit") ;

Jan 12 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by neverstill | last post: by
4 posts views Thread by krzysiek | last post: by
2 posts views Thread by Olav Tollefsen | last post: by
3 posts views Thread by I am Sam | last post: by
2 posts views Thread by Patrick.O.Ige | last post: by
4 posts views Thread by Patrick.O.Ige | last post: by
reply views Thread by Saiars | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.