Click here to Skip to main content
15,298,916 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

I have a radiobuttonlist composed of several listitems and i want to put each radiobutton (listitem) on a row in a way that the user have to choose only one of them.

I tried to go as such:

<pre lang="c#">
TableCell cell=new TableCell();
ListItem li=new ListItem();
cell.Controls.Add(li);//problem is here, it works for combobox but not for listitem

is there any way to do so?

Updated 18-Mar-12 11:44am
Member 13713279 12-Apr-18 4:27am
i need that also :'(

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900