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