blob: dbfc7a183feadcd4a60fe7b625b2eb6baf90b6c5 (
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
<com:TContent ID="body">
<h1>TRepeater Sample 2</h1>
<com:TRepeater ID="Repeater"
OnItemDataBound="dataBindRepeater2">
<prop:HeaderTemplate>
<table cellspacing="1" style="border-collapse: collapse;border:1px solid silver">
<tr style="color:white;background-color:black">
<th colspan="2">Regional Personnel</th>
</tr>
</prop:HeaderTemplate>
<prop:ItemTemplate>
<tr>
<td style="background-color:silver"><%#$this->Parent->DataItem %></td>
<td>
<com:TRepeater ID="Repeater2">
<prop:HeaderTemplate>
<table cellspacing="1" style="border-collapse: collapse;border:1px solid silver">
</prop:HeaderTemplate>
<prop:ItemTemplate>
<tr style="background-color:#E6FFE6;">
<td style="width:70px"><%#$this->Parent->DataItem['name'] %></td>
<td style="width:20px"><%#$this->Parent->DataItem['age'] %></td>
<td style="width:150px"><%#$this->Parent->DataItem['position'] %></td>
</tr>
</prop:ItemTemplate>
<prop:AlternatingItemTemplate>
<tr style="background-color:#F0F0F0;">
<td style="width:70px"><%#$this->Parent->DataItem['name'] %></td>
<td style="width:20px"><%#$this->Parent->DataItem['age'] %></td>
<td style="width:150px"><%#$this->Parent->DataItem['position'] %></td>
</tr>
</prop:AlternatingItemTemplate>
<prop:FooterTemplate>
</table>
</prop:FooterTemplate>
</com:TRepeater>
</td>
</tr>
</prop:ItemTemplate>
<prop:FooterTemplate>
</table>
</prop:FooterTemplate>
</com:TRepeater>
</com:TContent>
|