From 91fe694c8755aa2d05743946a3681be7232420b6 Mon Sep 17 00:00:00 2001
From: wei <>
Date: Mon, 4 Dec 2006 00:17:43 +0000
Subject: propage changes to OnError and OnSuccess for validators ClientSide.
---
demos/quickstart/protected/pages/Controls/Validation.page | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
(limited to 'demos/quickstart')
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.
- The OnValidate event is raise before the validator validation functions are called.
- - The OnSuccess event is raised after the validator has successfully validate the control.
- - The OnError event is raised after the validator fails validation.
+ - The OnValidationSuccess event is raised after the validator has successfully validate the control.
+ - The OnValidationError event is raised after the validator fails validation.
The corresponding events for the client side is available as sub-properties
of the ClientSide property of the validator.
@@ -165,9 +165,9 @@ The summary can be displayed as a list, a bulleted list, or a single paragraph b
The following example pop-up a message saying "hello" when the validator fails on the client-side.
<com:TRequiredFieldValidator ... >
- <prop:ClientSide.OnError>
+ <prop:ClientSide.OnValidationError>
alert("hello");
- </prop:ClientSide.OnError>
+ </prop:ClientSide.OnValidationError>
</com:TRequiredFieldValidator>
The resulting client-side event callback function is of the following form.
--
cgit v1.2.3