Placing elements beside ListItems in a RadioButtonList or CheckBoxList

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.
 
B

bruce barker

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)
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,434
Messages
2,571,690
Members
48,796
Latest member
Greg L.

Latest Threads

Top