ASP.NET RepeatLayout 속성

정의 및 사용법

RepeatLayout 속성은 RadioButtonList 내 항목을 어떻게 표시할지 가져오거나 설정합니다.

문법

<asp:RadioButtonList RepeatLayout="mode" runat="server">
some content
</asp:RadioButtonList >
속성 설명
mode

RadioButtonList 내 항목의 레이아웃을 정의합니다.

가능한 값:

  • Flow - 항목이 테이블에 표시되지 않습니다
  • Table - 기본. 항목이 테이블에 표시됩니다

예제

아래 예제는 RadioButtonList 컨트롤의 RepeatLayout을 설정합니다:

<form runat="server">
<asp:RadioButtonList id="rb1" runat="server"> RepeatLayout="Flow">
Some content
</asp:RadioButtonList>
</form>

예제

RadioButtonList 컨트롤의 RepeatLayout 속성 설정