summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages
diff options
context:
space:
mode:
authorwei <>2006-12-04 00:17:43 +0000
committerwei <>2006-12-04 00:17:43 +0000
commit91fe694c8755aa2d05743946a3681be7232420b6 (patch)
tree14d822b190fd729d141dbaa99cd26ed98e1b7940 /demos/quickstart/protected/pages
parent18ea316c553f7ccfc18b73f0c987de007f11b275 (diff)
propage changes to OnError and OnSuccess for validators ClientSide.
Diffstat (limited to 'demos/quickstart/protected/pages')
-rw-r--r--demos/quickstart/protected/pages/Controls/Validation.page8
1 files changed, 4 insertions, 4 deletions
diff --git a/demos/quickstart/protected/pages/Controls/Validation.page b/demos/quickstart/protected/pages/Controls/Validation.page
index 2405fb45..0e4006bb 100644
--- a/demos/quickstart/protected/pages/Controls/Validation.page
+++ b/demos/quickstart/protected/pages/Controls/Validation.page
@@ -156,8 +156,8 @@ The summary can be displayed as a list, a bulleted list, or a single paragraph b
All validators contains the following events.
<ul>
<li>The <tt>OnValidate</tt> event is raise before the validator validation functions are called.</li>
- <li>The <tt>OnSuccess</tt> event is raised after the validator has successfully validate the control.</li>
- <li>The <tt>OnError</tt> event is raised after the validator fails validation.</li>
+ <li>The <tt>OnValidationSuccess</tt> event is raised after the validator has successfully validate the control.</li>
+ <li>The <tt>OnValidationError</tt> event is raised after the validator fails validation.</li>
</ul>
The corresponding events for the client side is available as sub-properties
of the <tt>ClientSide</tt> property of the validator.
@@ -165,9 +165,9 @@ The summary can be displayed as a list, a bulleted list, or a single paragraph b
<p>The following example pop-up a message saying "hello" when the validator fails on the client-side.
<com:TTextHighlighter Language="prado" CssClass="source">
&lt;com:TRequiredFieldValidator ... &gt;
- &lt;prop:ClientSide.OnError&gt;
+ &lt;prop:ClientSide.OnValidationError&gt;
alert("hello");
- &lt;/prop:ClientSide.OnError&gt;
+ &lt;/prop:ClientSide.OnValidationError&gt;
&lt;/com:TRequiredFieldValidator&gt;
</com:TTextHighlighter>
The resulting client-side event callback function is of the following form.