Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to tell RadioButtonList to NOT generate a table

When I set up a RadioButtonList it creates a table layout for it and I don't want this... how do I get rid of it?

It might be a duplicate but I've searched and haven't manage to find a question like this here.

like image 601
marcgg Avatar asked Aug 14 '09 20:08

marcgg


1 Answers

You'll have to change the RepeatLayout property and setting it to Flow will probably yield the result you are searching for.

Take a look at all the other RepeatLayout options here:

http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.repeatlayout.aspx

Kinda silly the 4.0 framework still defaults the ugly table variant, I mostly revert to the UnorderedList variant.

like image 72
brianng Avatar answered Oct 19 '22 23:10

brianng