【发布时间】:2017-10-20 06:16:10
【问题描述】:
我想将 Radiobuttonlist 的项目放入td 标签中。
<td><asp:RadioButtonList ID="RadioButtonList1" runat="server" RepeatLayout="Table" RepeatDirection="Horizontal"></asp:RadioButtonList></td>
这是结果。这是从数据库加载的矩阵、行和列。(已设置单选按钮列表数据源)。
我将 RadioButtonList 放入td 标签中:所有项目都包含在一个单元格中。
当每个项目包含在一个单元格中时,我的矩阵将是完整的。
有 Itemtemplate 用于 RadioButtonList 之类的中继器吗?
【问题讨论】:
-
你可以从这个问题中得到线索。 stackoverflow.com/questions/21407934/…
-
加载单选按钮列表后,您可以使用 jquery wrap 函数来实现。