Problem Retrieving Values from CheckboxList nested inside Datalist Control

Discussion in 'ASP .Net Web Controls' started by Mike, Jan 12, 2006.

  1. Mike

    Mike Guest

    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
    Mike, Jan 12, 2006
    #1
    1. Advertising

  2. CheckBoxList list =(CheckBoxList )
    e.Item.FindControl("MyListIDorwhateveryounamedit");
    Keith Patrick, Jan 12, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. JD
    Replies:
    5
    Views:
    11,650
    NetArchitect
    Aug 8, 2007
  2. =?Utf-8?B?dmJNZW50YWw=?=

    CheckboxList inside a usercontrol inside of a datalist.

    =?Utf-8?B?dmJNZW50YWw=?=, Oct 30, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    579
    =?Utf-8?B?dmJNZW50YWw=?=
    Oct 30, 2004
  3. Patrick.O.Ige
    Replies:
    5
    Views:
    19,106
    Patrick.O.Ige
    Jun 19, 2005
  4. Mike
    Replies:
    1
    Views:
    1,834
    Keith Patrick
    Jan 12, 2006
  5. Mike
    Replies:
    1
    Views:
    145
    Keith Patrick
    Jan 12, 2006
Loading...

Share This Page