summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/Controls/Samples/TWizard/Sample5.page
blob: 89a2b8b30d0c241b8693dc80b58790ae16f53b42 (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
<com:TContent ID="body">

<h2>Using Templated Wizard Steps</h2>

<com:TWizard ID="Wizard1"
		BackColor="#FFFBD6"
		Width="400px"
		SideBarStyle.Width="120px"
        HeaderText="Please let us know your preference"
		OnCompleteButtonClick="wizardCompleted" >

  <com:TWizardStep Title="Step 1">
    <p>
    Your favorite color:
    <com:TDropDownList ID="DropDownList1">
      <com:TListItem Value="Red" />
      <com:TListItem Value="Blue" />
      <com:TListItem Value="Green" />
      <com:TListItem Value="Purple" />
      <com:TListItem Value="Black" />
      <com:TListItem Value="Yellow" />
      <com:TListItem Value="Orange" />
      <com:TListItem Value="Pink" />
      <com:TListItem Value="Cyan" />
    </com:TDropDownList>
    </p>
  </com:TWizardStep>

  <com:TTemplatedWizardStep ID="Step2" Title="Templated Step">
    <prop:ContentTemplate>
      <p>
      Your favorite Sport:
      <com:TDropDownList ID="DropDownList2">
        <com:TListItem Value="Baseball" />
        <com:TListItem Value="Football" />
        <com:TListItem Value="Tennis" />
      </com:TDropDownList>
      </p>
    </prop:ContentTemplate>
  </com:TTemplatedWizardStep>

  <com:TWizardStep Title="Complete" StepType="Complete">
    <h3>Thank you for your answer!</h3>
    <p>
    <com:TLabel ID="Result1" /><br/><br/>
    <com:TLabel ID="Result2" />
    </p>
  </com:TWizardStep>
</com:TWizard>

</com:TContent>