summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/Controls/Samples/TCheckBox/Home.page
diff options
context:
space:
mode:
authorxue <>2006-01-22 04:23:57 +0000
committerxue <>2006-01-22 04:23:57 +0000
commit5c9064d7d387c6f1e91fb11f47e14fb0d45cca3d (patch)
tree68e07768a25788c88b8803b5d4c677ca3b918a5a /demos/quickstart/protected/pages/Controls/Samples/TCheckBox/Home.page
parent5ac8a92a03d90d2b5c70daaaecef305aa6155dc2 (diff)
Fixed renderInputTag issue with TRadioButton.
Diffstat (limited to 'demos/quickstart/protected/pages/Controls/Samples/TCheckBox/Home.page')
-rw-r--r--demos/quickstart/protected/pages/Controls/Samples/TCheckBox/Home.page26
1 files changed, 21 insertions, 5 deletions
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TCheckBox/Home.page b/demos/quickstart/protected/pages/Controls/Samples/TCheckBox/Home.page
index 7d468a69..9e25fc8e 100644
--- a/demos/quickstart/protected/pages/Controls/Samples/TCheckBox/Home.page
+++ b/demos/quickstart/protected/pages/Controls/Samples/TCheckBox/Home.page
@@ -5,24 +5,40 @@
<table class="sampletable">
<tr><td class="samplenote">
-A checkbox with customized color and font:
+A checkbox with customized text alignment, color and font:
</td><td class="sampleaction">
<com:TCheckBox
Text="checkbox"
+ TextAlign="Left"
ForeColor="silver"
- BackColor="black"
+ BackColor="green"
Font.Size="14pt"
/>
</td></tr>
<tr><td class="samplenote">
-A click checkbox:
+A checkbox with label and input attributes:
</td><td class="sampleaction">
-<com:TCheckBox Text="click me" OnCheckedChanged="buttonClicked" />
+<com:TCheckBox
+ Text="click me"
+ InputAttributes.onclick="alert('this is checkbox');"
+ LabelAttributes.style="color:red"
+/>
+</td></tr>
+
+<tr><td class="samplenote">
+An auto postback checkbox:
+</td><td class="sampleaction">
+<com:TCheckBox
+ AutoPostBack="true"
+ ValidationGroup="t"
+ Text="click me"
+ OnCheckedChanged="checkboxClicked"
+ />
</td></tr>
<tr><td class="samplenote">
-A button causing validation:
+A checkbox causing validation on a textbox:
</td><td class="sampleaction">
<com:TTextBox ID="TextBox" />
<com:TRequiredFieldValidator