summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveCustomValidator/Home.page
blob: f72d887e5b85863bf9585482871be15ae91d4676 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<com:TContent ID="body">
<!-- $Id$ -->
<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:TButton ID="button1" Text="Submit!" />
</td></tr>
</table>

<com:TJavascriptLogger />

<div class="last-modified">$Id$</div></com:TContent>