ASP.NET RadioButtonList RepeatColumns 屬性
ASP.NET RadioButtonList RepeatColumns 屬性

定義和用法
RepeatColumns 屬性用于獲取或設(shè)置當(dāng)顯示單選按鈕列表時所用的列數(shù)。
語法
<asp:RadioButtonList RepeatColumns="num" runat="server">
Some Content
</asp:RadioButtonList >
Some Content
</asp:RadioButtonList >
屬性 | 描述 |
---|---|
num | 規(guī)定要顯示的列數(shù)。默認(rèn)是 "1"。 |
實例
下面的實例把 RadioButtonList 控件中的 RepeatColumns 屬性設(shè)置為 "2":
<form runat="server">
<asp:RadioButtonList id="rb1"
runat="server" RepeatColumns="2">
Some content
</asp:RadioButtonList>
</form>
<asp:RadioButtonList id="rb1"
runat="server" RepeatColumns="2">
Some content
</asp:RadioButtonList>
</form>
演示實例 ?

相關(guān)文章
- ASP.NET 教程
- ASP.NET Web Pages WebSecurity 參考手冊
- ASP.NET Razor 標(biāo)記
- ASP.NET Razor VB 邏輯
- ASP.NET ListBox 控件
- ASP.NET Style 控件
- WebSecurity CreateAccount 方法
- WebSecurity GetPasswordChangeDate 方法
- WebSecurity ResetPassword 方法
- Listbox
- ASP.NET HTML 控件 Textbox 2
- ASP.NET HTML 控件 ArrayList DropDownLis
- ASP.NET HTML 控件 Hashtable RadioButtonList 1
- C# 實例 可重復(fù)使用的頭部和底部
- VB 實例 實例解釋
- ASP.NET Web Pages - Chart 幫助器
- ASP.NET Calendar CellPadding 屬性
- ASP.NET Calendar DayHeaderStyle 屬性
- ASP.NET Calendar SelectedDayStyle 屬性
- ASP.NET Calendar VisibleDate 屬性