blob: 7d468a69976d56efc8c9510b71d2420610942832 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
<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">
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>
|