summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/protected/pages/MyTabPanelTest.page
diff options
context:
space:
mode:
authorwei <>2006-12-13 10:07:37 +0000
committerwei <>2006-12-13 10:07:37 +0000
commit3c24d31c69dffb6f65214b6d383d446ac122ff14 (patch)
tree971267876c36893930f84d9663031b154799b10b /tests/FunctionalTests/active-controls/protected/pages/MyTabPanelTest.page
parent840854be7886236d46d3408de5a084983373b4c7 (diff)
Fixed #488.
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected/pages/MyTabPanelTest.page')
-rw-r--r--tests/FunctionalTests/active-controls/protected/pages/MyTabPanelTest.page41
1 files changed, 41 insertions, 0 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/MyTabPanelTest.page b/tests/FunctionalTests/active-controls/protected/pages/MyTabPanelTest.page
new file mode 100644
index 00000000..7371086a
--- /dev/null
+++ b/tests/FunctionalTests/active-controls/protected/pages/MyTabPanelTest.page
@@ -0,0 +1,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>