summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/protected/pages/Validation/CheckBox.page
blob: 0653a0c220ac00215099cd2e64c990213f022db4 (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
<%@ Title="An AutoPostBack CheckBox" %>
<com:TContent ID="Content">

<h1>An AutoPostBack CheckBox</h1>

<com:TCheckBox
	AutoPostBack="true"
	Text="Without ValidationGroup"
	ID="checkbox1"
	/>
<br/>
<com:TCheckBox
	AutoPostBack="true"
	Text="With ValidationGroup"
	ValidationGroup="Group"
	ID="checkbox2"
	/>
<br/>
<com:TCheckBox
	AutoPostBack="true"
	CausesValidation="false"
	Text="CausesValidation=false"
	ID="checkbox3"
	/>
<br/>
Input: <com:TTextBox ID="TextBox"/>
<com:TRequiredFieldValidator
	ControlToValidate="TextBox"
	Display="Dynamic"
	ErrorMessage="input required in the textbox"
	ValidationGroup="Group"
	ID="validator1"
	/>
<br/>
</com:TContent>