| 1 |
lars |
1 |
<com:TContent ID="body">
|
|
|
2 |
<!-- $Id: ActiveCustomValidator.page 1650 2007-01-24 06:55:32Z wei $ -->
|
|
|
3 |
<h1 id="126030">TActiveCustomValidator</h1>
|
|
|
4 |
<com:DocLink ClassPath="System.Web.UI.ActiveControls.TActiveCustomValidator" />
|
|
|
5 |
|
|
|
6 |
<p id="630421" class="block-content">Performs custom validation using only server-side <tt>OnServerValidate</tt>
|
|
|
7 |
validation event. The client-side uses callbacks to raise
|
|
|
8 |
<tt>onServerValidate</tt> event. The <tt>ClientValidationFunction</tt> property
|
|
|
9 |
is disabled and will throw an exception if trying to set this property.
|
|
|
10 |
</p>
|
|
|
11 |
|
|
|
12 |
<p id="630422" class="block-content"> Beware that the <tt>onServerValidate</tt> may be
|
|
|
13 |
raised when the control to validate on the client side
|
|
|
14 |
changes value, that is, the server validation may be called many times.
|
|
|
15 |
|
|
|
16 |
After the callback or postback, the {@link onServerValidate onServerValidate}
|
|
|
17 |
is raised once more. The <tt>IsCallback</tt> property of the <tt>TPage</tt> class
|
|
|
18 |
will be true when validation is made during a callback request.
|
|
|
19 |
</p>
|
|
|
20 |
|
|
|
21 |
<com:RunBar PagePath="ActiveControls.Samples.TActiveCustomValidator.Home" />
|
|
|
22 |
|
|
|
23 |
<div class="last-modified">$Id: ActiveCustomValidator.page 1650 2007-01-24 06:55:32Z wei $</div></com:TContent>
|