summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/Controls/Samples
diff options
context:
space:
mode:
authorxue <>2006-01-21 22:48:46 +0000
committerxue <>2006-01-21 22:48:46 +0000
commitc9b8c956e15cb49476051990cc4d67b0a303ce84 (patch)
tree3e268316f7b729c332f365b143f831c63de9c65f /demos/quickstart/protected/pages/Controls/Samples
parentc69097235248a906923c846bf479b88965b3ddb7 (diff)
Diffstat (limited to 'demos/quickstart/protected/pages/Controls/Samples')
-rw-r--r--demos/quickstart/protected/pages/Controls/Samples/TCheckBox/Home.page47
-rw-r--r--demos/quickstart/protected/pages/Controls/Samples/TCheckBox/Home.php7
2 files changed, 54 insertions, 0 deletions
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TCheckBox/Home.page b/demos/quickstart/protected/pages/Controls/Samples/TCheckBox/Home.page
new file mode 100644
index 00000000..4da0631c
--- /dev/null
+++ b/demos/quickstart/protected/pages/Controls/Samples/TCheckBox/Home.page
@@ -0,0 +1,47 @@
+<com:TContent ID="body">
+
+<h1>TCheckBox Samples</h1>
+
+<table class="sampletable">
+
+<tr><td class="samplenote">
+A checkbox with customized color and font:
+</td><td class="sampleaction">
+<com:TCheckBox
+ Text="checkbox"
+ ForeColor="silver"
+ BackColor="black"
+ Font.Size="14pt"
+/>
+</td></tr>
+
+<tr><td class="samplenote">
+checkbox with only body content:
+</td><td class="sampleaction">
+<com:TCheckBox>
+body content
+</com:TCheckBox>
+</td></tr>
+
+<tr><td class="samplenote">
+A click checkbox:
+</td><td class="sampleaction">
+<com:TCheckBox Text="click me" OnCheckedChanged="buttonClicked" />
+</td></tr>
+
+<tr><td class="samplenote">
+A button causing validation:
+</td><td class="sampleaction">
+<com:TTextBox ID="TextBox" />
+<com:TRequiredFieldValidator
+ ControlToValidate="TextBox"
+ Display="Dynamic"
+ ErrorMessage="input required in the textbox"
+ ValidationGroup="Group"
+ />
+<com:TCheckBox Text="submit" ValidationGroup="Group" />
+</td></tr>
+
+</table>
+
+</com:TContent> \ No newline at end of file
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TCheckBox/Home.php b/demos/quickstart/protected/pages/Controls/Samples/TCheckBox/Home.php
new file mode 100644
index 00000000..badbca73
--- /dev/null
+++ b/demos/quickstart/protected/pages/Controls/Samples/TCheckBox/Home.php
@@ -0,0 +1,7 @@
+<?php
+
+class Home extends TPage
+{
+}
+
+?> \ No newline at end of file