summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/Controls/Samples
diff options
context:
space:
mode:
authorctrlaltca@gmail.com <>2011-06-08 16:33:16 +0000
committerctrlaltca@gmail.com <>2011-06-08 16:33:16 +0000
commit3b7fe6b02f47ab6af284b6a188632cc1622e86cc (patch)
tree1e58a7a473af0a22a5a26e83c3df240e56ad77b7 /demos/quickstart/protected/pages/Controls/Samples
parentf7ac5047d795e83d63f70bec45422073627800bd (diff)
added accordion control from #213
Diffstat (limited to 'demos/quickstart/protected/pages/Controls/Samples')
-rw-r--r--demos/quickstart/protected/pages/Controls/Samples/TAccordion/Home.page28
-rw-r--r--demos/quickstart/protected/pages/Controls/Samples/TAccordion/Home.php7
2 files changed, 35 insertions, 0 deletions
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TAccordion/Home.page b/demos/quickstart/protected/pages/Controls/Samples/TAccordion/Home.page
new file mode 100644
index 00000000..2c862fb7
--- /dev/null
+++ b/demos/quickstart/protected/pages/Controls/Samples/TAccordion/Home.page
@@ -0,0 +1,28 @@
+<com:TContent ID="body">
+<h1>TAccordion Samples</h1>
+
+<com:TAccordion>
+ <com:TAccordionView ID="View1" Caption="View 1" Height="200px">
+ <h2>View 1</h2>
+ </com:TAccordionView>
+
+ <com:TAccordionView ID="View2" Caption="View 2">
+ <h2>View 2</h2>
+ <p>Please choose a color:</p>
+ <com:TDropDownList ID="DropDownList">
+ <com:TListItem Value="Red" />
+ <com:TListItem Value="Blue" />
+ <com:TListItem Value="Green" />
+ </com:TDropDownList>
+ </com:TAccordionView>
+
+ <com:TAccordionView Caption="View 3">
+ <h2>View 3</h2>
+ <p>
+ Click on the following button to see if we keep your input after postback.
+ </p>
+ <com:TButton Text="Submit" />
+ </com:TAccordionView>
+</com:TAccordion>
+
+</com:TContent>
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TAccordion/Home.php b/demos/quickstart/protected/pages/Controls/Samples/TAccordion/Home.php
new file mode 100644
index 00000000..badbca73
--- /dev/null
+++ b/demos/quickstart/protected/pages/Controls/Samples/TAccordion/Home.php
@@ -0,0 +1,7 @@
+<?php
+
+class Home extends TPage
+{
+}
+
+?> \ No newline at end of file