Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Problem Retrieving Values from CheckboxList nested inside Datalist Control

Reply
Thread Tools

Problem Retrieving Values from CheckboxList nested inside Datalist Control

 
 
Mike
Guest
Posts: n/a
 
      01-12-2006
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


 
Reply With Quote
 
 
 
 
Keith Patrick
Guest
Posts: n/a
 
      01-12-2006
CheckBoxList list =(CheckBoxList )
e.Item.FindControl("MyListIDorwhateveryounamedit") ;



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
setting SelectedIndex of DataList nested inside of DataList? Les Caudle ASP .Net 0 05-02-2006 10:44 PM
Problem Retrieving Values from CheckboxList nested inside Datalist Control Mike ASP .Net Web Controls 1 01-12-2006 08:56 PM
Problem Retrieving Values from CheckboxList nested inside Datalist Control Mike ASP .Net Datagrid Control 1 01-12-2006 08:56 PM
How to get Selected item in a Databinded CheckBoxList when CheckBoxlist is in a DataList? Patrick.O.Ige ASP .Net 5 06-19-2005 06:11 AM
CheckboxList inside a usercontrol inside of a datalist. =?Utf-8?B?dmJNZW50YWw=?= ASP .Net 0 10-30-2004 03:28 AM



Advertisments