| 1 |
lars |
1 |
<com:TContent ID="body">
|
|
|
2 |
|
|
|
3 |
<h2>Nonlinear Wizard Navigation Sample</h2>
|
|
|
4 |
|
|
|
5 |
<p>
|
|
|
6 |
In the following survey, if you are a college student, you will be asked which major you are in. Otherwise, the question is skipped to your favorite sport. This demo also shows unidrectional navigation.
|
|
|
7 |
</p>
|
|
|
8 |
|
|
|
9 |
<com:TWizard ID="Wizard3"
|
|
|
10 |
BackColor="#FFFBD6"
|
|
|
11 |
Width="300px"
|
|
|
12 |
HeaderText="A Mini Survey"
|
|
|
13 |
ShowSideBar="false"
|
|
|
14 |
HeaderStyle.BackColor="PaleGoldenrod"
|
|
|
15 |
HeaderStyle.HorizontalAlign="Center"
|
|
|
16 |
NavigationStyle.HorizontalAlign="Center"
|
|
|
17 |
OnNextButtonClick="wizard3NextStep"
|
|
|
18 |
OnCompleteButtonClick="wizard3Completed" >
|
|
|
19 |
|
|
|
20 |
<com:TWizardStep Title="Background" AllowReturn="false">
|
|
|
21 |
<b><%= $this->Title %></b>
|
|
|
22 |
<br/><br/>
|
|
|
23 |
<com:TCheckBox ID="StudentCheckBox" Text="I am a college student." />
|
|
|
24 |
<br/><br/>
|
|
|
25 |
</com:TWizardStep>
|
|
|
26 |
|
|
|
27 |
<com:TWizardStep Title="Major" AllowReturn="false">
|
|
|
28 |
<b><%= $this->Title %></b>
|
|
|
29 |
<br/><br/>
|
|
|
30 |
My major is
|
|
|
31 |
<com:TDropDownList ID="DropDownList11">
|
|
|
32 |
<com:TListItem Value="Computer Science" />
|
|
|
33 |
<com:TListItem Value="Chemistry" />
|
|
|
34 |
<com:TListItem Value="Mathematics" />
|
|
|
35 |
<com:TListItem Value="Others" />
|
|
|
36 |
</com:TDropDownList>
|
|
|
37 |
<br/><br/>
|
|
|
38 |
</com:TWizardStep>
|
|
|
39 |
|
|
|
40 |
<com:TWizardStep Title="Hobbies" AllowReturn="false">
|
|
|
41 |
<b><%= $this->Title %></b>
|
|
|
42 |
<br/><br/>
|
|
|
43 |
My favorite Sport is
|
|
|
44 |
<com:TDropDownList ID="DropDownList22">
|
|
|
45 |
<com:TListItem Value="Baseball" />
|
|
|
46 |
<com:TListItem Value="Football" />
|
|
|
47 |
<com:TListItem Value="Tennis" />
|
|
|
48 |
</com:TDropDownList>
|
|
|
49 |
<br/><br/>
|
|
|
50 |
</com:TWizardStep>
|
|
|
51 |
|
|
|
52 |
<com:TWizardStep Title="Summary" StepType="Complete">
|
|
|
53 |
<h3>Thank you for taking this survey!</h3>
|
|
|
54 |
<p>
|
|
|
55 |
<com:TLabel ID="Wizard3Result" />
|
|
|
56 |
</p>
|
|
|
57 |
</com:TWizardStep>
|
|
|
58 |
|
|
|
59 |
</com:TWizard>
|
|
|
60 |
|
|
|
61 |
<div class="last-modified">$Id: Sample3.page 1650 2007-01-24 06:55:32Z wei $</div></com:TContent>
|