summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/Controls/Samples/TCheckBox/Home.page
diff options
context:
space:
mode:
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