summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/Controls/Samples/TMultiView/Home.page
blob: b0e2386d4960c4278fa63c6f1832e5a12bd1f8b9 (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>TMultiView Samples</h1>

<com:TMultiView ID="MultiView" ActiveViewIndex="0" OnActiveViewChanged="viewChanged">
  <com:TView ID="View1">
    <h2>View 1</h2>
    <p>Please enter a paragraph:</p>
    <com:THtmlArea ID="Memo" />
    <hr/>
    <com:TButton Text="View 2" CommandName="NextView" />
    <com:TButton Text="View 3" CommandName="SwitchViewIndex" CommandParameter="2" />
  </com:TView>
  <com:TView>
    <h2>View 2</h2>
    <p>Please choose a color:</p>
    <com:TDropDownList ID="DropDownList">
      <com:TListItem Value="Red" />
      <com:TListItem Value="Blue" />
      <com:TListItem Value="Green" />
    </com:TDropDownList>
    <hr/>
    <com:TButton Text="View 1" CommandName="PreviousView" />
    <com:TButton Text="View 3" CommandName="NextView" />
  </com:TView>
  <com:TView>
    <h2>View 3</h2>
    <com:TLabel ID="Result1" />
    <br/>
    <com:TLabel ID="Result2" />
    <hr/>
    <com:TButton Text="View 1" CommandName="SwitchViewID" CommandParameter="View1" />
    <com:TButton Text="View 2" CommandName="PreviousView" />
  </com:TView>
</com:TMultiView>

</com:TContent>