summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveCustomValidator/Home.page
blob: 1d16235ee7c80d347f82af0862df3f0c6bea1625 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<com:TContent ID="body">
<h1>TActiveCustomValidator Samples (AJAX)</h1>

<table class="sampletable">

<tr><td class="samplenote">
Custom validator using callbacks:
</td><td class="sampleaction">
<com:TTextBox ID="textbox1" />
<com:TActiveCustomValidator
	ID="validator1"
	ControlToValidate="textbox1"
	ErrorMessage="Please enter 'Prado'"
	OnServerValidate="validator1_onvalidate" />
<com:TActiveButton ID="button1" Text="Submit!" />
</td></tr>
</table>


</com:TContent>