summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/ActiveControls/ActiveCustomValidator.page
diff options
context:
space:
mode:
authorwei <>2006-09-13 23:33:41 +0000
committerwei <>2006-09-13 23:33:41 +0000
commit9f2905f5e2a6d0ab33e4e2d82162183cfd63a042 (patch)
tree19ac593839f1003ef91d8b4a0d7e8e25fbf460e3 /demos/quickstart/protected/pages/ActiveControls/ActiveCustomValidator.page
parent348fb25264f6cc9251f5ae9cb8c7a8a1013e2d67 (diff)
Fixed #376
Diffstat (limited to 'demos/quickstart/protected/pages/ActiveControls/ActiveCustomValidator.page')
-rw-r--r--demos/quickstart/protected/pages/ActiveControls/ActiveCustomValidator.page23
1 files changed, 23 insertions, 0 deletions
diff --git a/demos/quickstart/protected/pages/ActiveControls/ActiveCustomValidator.page b/demos/quickstart/protected/pages/ActiveControls/ActiveCustomValidator.page
new file mode 100644
index 00000000..f97ea40d
--- /dev/null
+++ b/demos/quickstart/protected/pages/ActiveControls/ActiveCustomValidator.page
@@ -0,0 +1,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>