summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveCustomValidator/Home.page
blob: 338111672e70431cd9a23a9dc8f9669a6c593c4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<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!" OnCallback="button1_oncallback"/>
<com:TActiveLabel ID="label1" />
</td></tr>
</table>


</com:TContent>