summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxue <>2006-01-21 22:48:46 +0000
committerxue <>2006-01-21 22:48:46 +0000
commitc9b8c956e15cb49476051990cc4d67b0a303ce84 (patch)
tree3e268316f7b729c332f365b143f831c63de9c65f
parentc69097235248a906923c846bf479b88965b3ddb7 (diff)
-rw-r--r--.gitattributes2
-rw-r--r--demos/quickstart/protected/pages/Controls/Samples/TCheckBox/Home.page47
-rw-r--r--demos/quickstart/protected/pages/Controls/Samples/TCheckBox/Home.php7
3 files changed, 56 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
index a8af556d..bf3c2897 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -51,6 +51,8 @@ demos/quickstart/protected/pages/Controls/Samples/TBulletedList/Home.php -text
demos/quickstart/protected/pages/Controls/Samples/TBulletedList/bullet.gif -text
demos/quickstart/protected/pages/Controls/Samples/TButton/Home.page -text
demos/quickstart/protected/pages/Controls/Samples/TButton/Home.php -text
+demos/quickstart/protected/pages/Controls/Samples/TCheckBox/Home.page -text
+demos/quickstart/protected/pages/Controls/Samples/TCheckBox/Home.php -text
demos/quickstart/protected/pages/Controls/Samples/TCheckBoxList/Home.page -text
demos/quickstart/protected/pages/Controls/Samples/TCheckBoxList/Home.php -text
demos/quickstart/protected/pages/Controls/Samples/TCompareValidator/Home.page -text
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