summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/protected/pages/MyTabPanelTest.page
blob: 7371086ab350b974bdac81ddf5b10ae94832c2f3 (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
<com:TForm ID="form1">

<h1>My Tab Panel Test</h1>

<div id="loading" style="display: none; z-index: 10; width: 16px; height: 16px; position: absolute; left: 5px; top: 5px;">
	LLoading...
</div>
<ul>
<li>
  <com:TActiveLinkButton OnCallback="onShowPanelA" Text="Panel A">
    <prop:ClientSide OnLoading="$('loading').show()" OnComplete="$('loading').hide()"/>
  </com:TActiveLinkButton>
</li>
<li>
  <com:TActiveLinkButton OnCallback="onShowPanelB" Text="Panel B">
    <prop:ClientSide OnLoading="$('loading').show()" OnComplete="$('loading').hide()"/>
  </com:TActiveLinkButton>
</li>
<li>
  <com:TActiveLinkButton OnCallback="onShowPanelC" Text="Panel C">
    <prop:ClientSide OnLoading="$('loading').show()" OnComplete="$('loading').hide()"/>
  </com:TActiveLinkButton>
</li>
</ul>

<com:TActivePanel ID="pnlContentsA" Attributes.style="display: none;">
 This is the contents of panel A
 <com:Application.pages.MyControl/>
</com:TActivePanel>

<com:TActivePanel ID="pnlContentsB" Attributes.style="display: none;">
 This is the contents of panel B
</com:TActivePanel>

<com:TActivePanel ID="pnlContentsC" Attributes.style="display: none;">
 This is the contents of panel C
</com:TActivePanel>

<com:TJavascriptLogger />

</com:TForm>