summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/Controls/Samples/TBulletedList/Home.page
blob: 57ca0ca5b56f800daad79912b2113774f03d2589 (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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<com:TContent ID="body">

<h1>TBulletedList Samples</h1>

<table class="sampletable">

<tr>
<td class="samplenote">
Bulleted list with default settings:
</td>
<td class="sampleaction">
<com:TBulletedList>
  <com:TListItem Value="value 1" Text="item 1" />
  <com:TListItem Value="value 2" Text="item 2" />
  <com:TListItem Value="value 3" Text="item 3" />
  <com:TListItem Value="value 4" Text="item 4" />
</com:TBulletedList>
</td>
</tr>

<tr>
<td class="samplenote">
Bulleted list with customized color, font, bullet style:
</td>
<td class="sampleaction">
<com:TBulletedList
	BulletStyle="UpperRoman"
	FirstBulletNumber="5"
	BackColor="silver"
	Font.Size="12pt">
  <com:TListItem Value="value 1" Text="item 1" />
  <com:TListItem Value="value 2" Text="item 2" />
  <com:TListItem Value="value 3" Text="item 3" />
  <com:TListItem Value="value 4" Text="item 4" />
</com:TBulletedList>
</td>
</tr>

<tr>
<td class="samplenote">
Bulleted list with image bullets:
</td>
<td class="sampleaction">
<com:TBulletedList BulletStyle="CustomImage" BulletImageUrl=<%~bullet.gif%> >
  <com:TListItem Value="value 1" Text="item 1" />
  <com:TListItem Value="value 2" Text="item 2" />
  <com:TListItem Value="value 3" Text="item 3" />
  <com:TListItem Value="value 4" Text="item 4" />
</com:TBulletedList>
</td>
</tr>

<tr>
<td class="samplenote">
Bulleted list of hyperlinks:
</td>
<td class="sampleaction">
<com:TBulletedList DisplayMode="HyperLink" Target="_blank">
  <com:TListItem Value="http://www.google.com/" Text="google" />
  <com:TListItem Value="http://www.yahoo.com/" Text="yahoo" />
  <com:TListItem Value="http://www.amazon.com/" Text="amazon" />
</com:TBulletedList>
</td>

<tr>
<td class="samplenote">
Bulleted list of link buttons (click on them to see the result):
</td>
<td class="sampleaction">
<com:TBulletedList DisplayMode="LinkButton" OnClick="buttonClicked">
  <com:TListItem Value="http://www.google.com/" Text="google" />
  <com:TListItem Value="http://www.yahoo.com/" Text="yahoo" />
  <com:TListItem Value="http://www.amazon.com/" Text="amazon" />
</com:TBulletedList>
<com:TLabel ID="Result" ForeColor="red" />
</td>

</tr>


</table>

</com:TContent>