/ActiveControls/Samples/TActiveCustomValidator/Home.page
<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>