summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveMultiView/Home.page
blob: 6888ad7889280741a530bece4758878e49f604e6 (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" ActiveControl.CallbackParameter="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" ActiveControl.CallbackParameter="View1" />
    <com:TActiveButton Text="View 2" CommandName="PreviousView" />
  </com:TView>
</com:TActiveMultiView>

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