Click here to Skip to main content
12,350,030 members (24,297 online)
Rate this:
Please Sign up or sign in to vote.
See more: ASP table

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?

Posted 18-Mar-12 11:14am
Edited 18-Mar-12 11:44am

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.160621.1 | Last Updated 18 Mar 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100