summaryrefslogtreecommitdiff
path: root/demos/quickstart
diff options
context:
space:
mode:
Diffstat (limited to 'demos/quickstart')
-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