blob: d2b9408474b6d143bfc1f41ebe19f58e1561b79c (
plain)
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
|
<com:TContent ID="body">
<h1>TDataList Sample 1</h1>
<com:TDataList
ID="DataList"
RepeatColumns="2"
RepeatDirection="Horizontal"
ItemStyle.BackColor="blue"
ItemStyle.Font.Italic="true"
ItemStyle.ForeColor="white"
AlternatingItemStyle.BackColor="green"
SelectedItemStyle.BackColor="red"
CellPadding="4">
<prop:ItemTemplate>
<%#$this->Parent->DataItem['name']%>
</prop:ItemTemplate>
<prop:AlternatingItemTemplate>
<%#$this->Parent->DataItem['name']%>
</prop:AlternatingItemTemplate>
</com:TDataList>
</com:TContent>
|