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

<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" ID="textbox1"/>
<com:TRequiredFieldValidator
	ControlToValidate="TextBox"
	Display="Dynamic"
	ErrorMessage="input required in the textbox"
	ValidationGroup="Group"
	ID="validator1"
	/>
<br/>
<com:TJavascriptLogger />

</com:TForm>
</com:TContent>