blob: deaaa1874666426fb964da28fa3e31fdab70a8a7 (
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
|
<com:TContent ID="body">
<h1>TActiveMultiView Samples</h1>
<com:TActiveMultiView ID="MultiView" ActiveViewIndex="0" OnActiveViewChanged="viewChanged">
<com:TView ID="View1">
<h2>View 1</h2>
<p>Please enter a memo:</p>
<com:TActiveTextBox ID="Memo" />
<hr/>
<com:TActiveButton Text="View 2" CommandName="NextView" />
<com:TActiveButton Text="View 3" CommandName="SwitchViewIndex" CommandParameter="2" />
</com:TView>
<com:TView>
<h2>View 2</h2>
<p>Please choose a color:</p>
<com:TActiveDropDownList ID="DropDownList">
<com:TListItem Value="Red" />
<com:TListItem Value="Blue" />
<com:TListItem Value="Green" />
</com:TActiveDropDownList>
<hr/>
<com:TActiveButton Text="View 1" CommandName="PreviousView" />
<com:TActiveButton Text="View 3" CommandName="NextView" />
</com:TView>
<com:TView>
<h2>View 3</h2>
<com:TActiveLabel ID="Result1" />
<br/>
<com:TActiveLabel ID="Result2" />
<hr/>
<com:TActiveButton Text="View 1" CommandName="SwitchViewID" CommandParameter="View1" />
<com:TActiveButton Text="View 2" CommandName="PreviousView" />
</com:TView>
</com:TActiveMultiView>
</com:TContent>
|