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.
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.
You'll have to change the
RepeatLayout
property and setting it toFlow
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.