如何告诉RadioButtonList不生成表 [英] How to tell RadioButtonList to NOT generate a table
问题描述
当我设置一个RadioButtonList时,它会为其创建一个表格布局,我不想要这个...如何摆脱它?
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?
它可能是重复的,但我已经搜索过,但没有设法在这里找到这样的问题.
推荐答案
您必须更改 RepeatLayout
属性并将其设置为 Flow
可能会产生结果您正在搜索.
You'll have to change the RepeatLayout
property and setting it to Flow
will probably yield the result you are searching for.
在此处查看所有其他 RepeatLayout
选项:
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 4.0框架仍然默认使用丑陋的表格变体,我大多恢复为 UnorderedList
变体.
Kinda silly the 4.0 framework still defaults the ugly table variant, I mostly revert to the UnorderedList
variant.
这篇关于如何告诉RadioButtonList不生成表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!