Placing elements beside ListItems in a RadioButtonList or CheckBoxList

  • Thread starter Thread starter Nathan Sokalski
  • Start date Start date
N

Nathan Sokalski

When creating a RadioButtonList or CheckBoxList, the only control allowed
inside the RadioButtonList or CheckBoxList tags is the ListItem. However, I
want to place a TextBox beside one of the ListItems. Is there any way to do
this (other than using RadioButton and CheckBox instead)? Thanks.
 
the checkboxlist and the radiobuttonlist render the items html directly
rather than creating child controls (that render their own html), so your
only option is to subclass the list, and override the render.

-- bruce (sqlwork.com)
 
Back
Top