티스토리 뷰
List 컨트롤에 있는 항목의 레이아웃을 지정합니다.
무슨 말인고 하니~
컨트롤의 layout을 어떤형식으로 생성하는지에 대한 방법을 선택하는 열거형이다.
무슨 말인고 하니~
컨트롤의 layout을 어떤형식으로 생성하는지에 대한 방법을 선택하는 열거형이다.
멤버 이름 | 설명 | |
---|---|---|
Table | 항목이 테이블에 표시됩니다. 다음 예제에서는 RepeatLayout 속성이 Table로 설정된 CheckBoxList 컨트롤에 대해 렌더링되는 태그를 보여줍니다. ![]() 이 옵션은 컨트롤이 내게 필요한 옵션 표준을 준수하지 않을 수 있는 HTML을 렌더링하도록 합니다.자세한 내용은 Visual Studio 및 ASP.NET의 내게 필요한 옵션을 참조하십시오.
<table id="ctl00_MainContent_CheckBoxList2"> <tr> <td> <input id="ctl00_MainContent_CheckBoxList2_0" type="checkbox" name="ctl00$MainContent$CheckBoxList2$0" value="Item 1" /> <label for="ctl00_MainContent_CheckBoxList2_0">Item 1</label> </td> </tr> <tr> <td> <input id="ctl00_MainContent_CheckBoxList2_1" type="checkbox" name="ctl00$MainContent$CheckBoxList2$1" value="Item 2" /> <label for="ctl00_MainContent_CheckBoxList2_1">Item 2</label> </td> </tr> <tr> <td> <input id="ctl00_MainContent_CheckBoxList2_2" type="checkbox" name="ctl00$MainContent$CheckBoxList2$2" value="Item 3" /> <label for="ctl00_MainContent_CheckBoxList2_2">Item 3</label> </td> </tr> </table> | |
Flow | 항목이 테이블 구조 없이 표시됩니다. 렌더링된 태그는 span 요소로 구성되며 항목은 br 요소로 분리됩니다. 다음 예제에서는 RepeatLayout 속성이 Flow로 설정된 CheckBoxList 컨트롤에 대해 렌더링되는 태그를 보여줍니다. <span id="ctl00_MainContent_CheckBoxList1"> <input id="ctl00_MainContent_CheckBoxList1_0" type="checkbox" name="ctl00$MainContent$CheckBoxList1$0" value="Item 1" /> <label for="ctl00_MainContent_CheckBoxList1_0">Item 1</label> <br /> <input id="ctl00_MainContent_CheckBoxList1_1" type="checkbox" name="ctl00$MainContent$CheckBoxList1$1" value="Item 2"/> <label for="ctl00_MainContent_CheckBoxList1_1">Item 2</label> <br /> <input id="ctl00_MainContent_CheckBoxList1_2" type="checkbox" name="ctl00$MainContent$CheckBoxList1$2" value="Item 2" /> <label for="ctl00_MainContent_CheckBoxList1_2">Item 2</label> </span> |
|
UnorderedList | 항목이 테이블 구조 없이 표시됩니다. 렌더링된 태그는 li 요소가 포함된 ul 요소로 구성됩니다. 다음 예제에서는 RepeatLayout 속성이 UnorderedList로 설정된 CheckBoxList 컨트롤에 대해 렌더링되는 태그를 보여줍니다. <ul id="ctl00_MainContent_CheckBoxList4"> <li> <input id="ctl00_MainContent_CheckBoxList4_0" type="checkbox" name="ctl00$MainContent$CheckBoxList4$0" value="Item 1" /> <label for="ctl00_MainContent_CheckBoxList4_0">Item 1</label> </li> <li> <input id="ctl00_MainContent_CheckBoxList4_1" type="checkbox" name="ctl00$MainContent$CheckBoxList4$1" value="Item 2" /> <label for="ctl00_MainContent_CheckBoxList4_1">Item 2</label> </li> <li> <input id="ctl00_MainContent_CheckBoxList4_2" type="checkbox" name="ctl00$MainContent$CheckBoxList4$2" value="Item 2" /> <label for="ctl00_MainContent_CheckBoxList4_2">Item 2</label> </li> </ul> ![]() 이 필드는 ASP.NET 4를 기준으로 새로운 기능이며, CheckBoxList 및 RadioButtonList 컨트롤에 대해서만 유효한 옵션입니다.
| |
OrderedList | 항목이 테이블 구조 없이 표시됩니다. 렌더링된 태그는 li 요소가 포함된 ol 요소로 구성됩니다. 다음 예제에서는 RepeatLayout 속성이 OrderedList로 설정된 CheckBoxList 컨트롤에 대해 렌더링되는 태그를 보여줍니다. <ol id="ctl00_MainContent_CheckBoxList3"> <li> <input id="ctl00_MainContent_CheckBoxList3_0" type="checkbox" name="ctl00$MainContent$CheckBoxList3$0" value="Item 1" /> <label for="ctl00_MainContent_CheckBoxList3_0">Item 1</label> </li> <li> <input id="ctl00_MainContent_CheckBoxList3_1" type="checkbox" name="ctl00$MainContent$CheckBoxList3$1" value="Item 2" /> <label for="ctl00_MainContent_CheckBoxList3_1">Item 2</label> </li> <li> <input id="ctl00_MainContent_CheckBoxList3_2" type="checkbox" name="ctl00$MainContent$CheckBoxList3$2" value="Item 2" /> <label for="ctl00_MainContent_CheckBoxList3_2">Item 2</label> </li> </ol> ![]() 이 필드는 ASP.NET 4를 기준으로 새로운 기능이며, CheckBoxList 및 RadioButtonList 컨트롤에 대해서만 유효한 옵션입니다.
|
728x90
반응형
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- 스프링 프레임워크(spring framewordk)
- 표현 언어(expression language)
- system.io
- nl2br
- java 키워드 정리
- 메이븐(maven)
- MainActor
- 스프링 시큐리티(spring security)-http basic 인증
- 스프링 프레임워크(spring framework)
- 인텔리제이(intellij)
- 람다식(lambda expression)
- 특정 문자를 기준으로 자르기
- In App Purchase
- java web-mvc
- 스프링 시큐리티(spring security)
- System.Diagnostics
- error-java
- java.sql
- REST API
- docker
- await
- .submit()
- java-개발 환경 설정하기
- 제품 등록
- 문자 자르기
- jstl(java standard tag library)
- jsp 오픈 소스
- React
- jstl(java standard tag library)-core
- 진수 변환
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
글 보관함