ASP.NET 教程教程
ASP.NET RadioButtonList RepeatLayout 属性
ASP.NET RadioButtonList RepeatLayout 属性
ASP.NET RadioButtonList RepeatLayout 属性
RadioButtonList 控件
定义和用法
RepeatLayout 属性用于获取或设置如何显示 RadioButtonList 中的项目。
语法
<asp:RadioButtonList RepeatLayout="mode" runat="server">
Some Content
</asp:RadioButtonList >
Some Content
</asp:RadioButtonList >
属性 | 描述 |
---|---|
mode | 规定 RadioButtonList 中的项目的布局。 可能的值:
|
实例
下面的实例设置了 RadioButtonList 控件的 RepeatLayout:
<form runat="server">
<asp:RadioButtonList id="rb1"
runat="server" RepeatLayout="Flow">
Some content
</asp:RadioButtonList>
</form>
<asp:RadioButtonList id="rb1"
runat="server" RepeatLayout="Flow">
Some content
</asp:RadioButtonList>
</form>
演示实例 »
RadioButtonList 控件
ASP.NET RadioButtonList RepeatLayout 属性 |
---|
ASP.NET 教程
ASP.NET 是微软公司提出的一个使用 HTML、CSS、JavaScript 和服务器脚本创建网页和网站的开发框架。ASP.NET 支持三种不同的开发模式:单页面模式、MVC 模式、事件驱动模式。