| 1 |
lars |
1 |
<com:TContent ID="body">
|
|
|
2 |
<h1>TTabPanel Samples</h1>
|
|
|
3 |
|
|
|
4 |
<com:TTabPanel ActiveViewID="View2">
|
|
|
5 |
|
|
|
6 |
<com:TTabView ID="View1" Caption="View 1" Height="200px">
|
|
|
7 |
<h2>View 1</h2>
|
|
|
8 |
<p>
|
|
|
9 |
This shows a nested tab panel. To ensure the proper display, we explicitly
|
|
|
10 |
set the height of the outer view to be 200px.
|
|
|
11 |
</p>
|
|
|
12 |
<com:TTabPanel ActiveViewIndex="1"
|
|
|
13 |
Width="50%"
|
|
|
14 |
TabStyle.BorderColor="red"
|
|
|
15 |
ActiveTabStyle.BorderColor="red"
|
|
|
16 |
ViewStyle.BorderColor="red">
|
|
|
17 |
<com:TTabView ID="View11" Caption="View 11">
|
|
|
18 |
This is view 11.
|
|
|
19 |
</com:TTabView>
|
|
|
20 |
<com:TTabView ID="View21" Caption="View 12" Text="This is view 12" />
|
|
|
21 |
</com:TTabPanel>
|
|
|
22 |
</com:TTabView>
|
|
|
23 |
|
|
|
24 |
<com:TTabView ID="View2" Caption="View 2">
|
|
|
25 |
<h2>View 2</h2>
|
|
|
26 |
<p>Please choose a color:</p>
|
|
|
27 |
<com:TDropDownList ID="DropDownList">
|
|
|
28 |
<com:TListItem Value="Red" />
|
|
|
29 |
<com:TListItem Value="Blue" />
|
|
|
30 |
<com:TListItem Value="Green" />
|
|
|
31 |
</com:TDropDownList>
|
|
|
32 |
</com:TTabView>
|
|
|
33 |
|
|
|
34 |
<com:TTabView Caption="View 3">
|
|
|
35 |
<h2>View 3</h2>
|
|
|
36 |
<p>
|
|
|
37 |
Click on the following button to see if we keep your input after postback.
|
|
|
38 |
</p>
|
|
|
39 |
<com:TButton Text="Submit" />
|
|
|
40 |
</com:TTabView>
|
|
|
41 |
</com:TTabPanel>
|
|
|
42 |
|
|
|
43 |
<div class="last-modified">$Id: Home.page 2078 2007-07-25 17:17:46Z xue $</div>
|
|
|
44 |
</com:TContent>
|