diff options
Diffstat (limited to 'demos/quickstart/protected/pages/Controls')
-rw-r--r-- | demos/quickstart/protected/pages/Controls/Validation.page | 8 |
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">
<com:TRequiredFieldValidator ... >
- <prop:ClientSide.OnError>
+ <prop:ClientSide.OnValidationError>
alert("hello");
- </prop:ClientSide.OnError>
+ </prop:ClientSide.OnValidationError>
</com:TRequiredFieldValidator>
</com:TTextHighlighter>
The resulting client-side event callback function is of the following form.
|