summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/protected/pages/TextBoxValidationCallback.page
blob: 79fc17e065d3ca82f56641affa6be7c2c4f9d9b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<com:TForm>
<h1>TextBox AutoPostBack With Group Validation</h1>
<com:TTextBox ID="Address" Columns="60" Maxlength="128" />
<com:TRequiredFieldValidator
	ID="validator1"
	ControlToValidate="Address"
	ValidationGroup="post"
	ErrorMessage="*" />

<com:TActiveTextBox
	AutoPostBack="true"
	ID="ZipCode"
	Columns="4"
	Maxlength="12"
	ValidationGroup="post"
	OnCallback="lookupZipCode"/>
<com:TJavascriptLogger />

<com:TActiveTextBox ID="City" Columns="60" Maxlength="128" />

</com:TForm>