summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/Controls/Samples/TMultiView/Home.page
blob: 0dba602ad9fec8de112eb21a85d7f60d33af8015 (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 memo:</p>
    <com:TTextBox 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>

<div class="last-modified">$Id$</div></com:TContent>