blob: 8ef69a9ab67003d5ba25c8d317f656d9af545827 (
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!" />
</td></tr>
</table>
<com:TJavascriptLogger />
</com:TContent>
|