From c1937cccd0985e86e247287faa9ac60870feecd7 Mon Sep 17 00:00:00 2001 From: xue <> Date: Sun, 27 Aug 2006 23:26:55 +0000 Subject: Merge from 3.0 branch till 1350. --- demos/quickstart/protected/pages/Controls/Validation.page | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'demos/quickstart/protected/pages/Controls/Validation.page') diff --git a/demos/quickstart/protected/pages/Controls/Validation.page b/demos/quickstart/protected/pages/Controls/Validation.page index 2241f346..119749db 100644 --- a/demos/quickstart/protected/pages/Controls/Validation.page +++ b/demos/quickstart/protected/pages/Controls/Validation.page @@ -160,7 +160,7 @@ The summary can be displayed as a list, a bulleted list, or a single paragraph b
  • The OnError 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. + of the ClientSide property of the validator.

    The following example pop-up a message saying "hello" when the validator fails on the client-side. @@ -172,18 +172,19 @@ The summary can be displayed as a list, a bulleted list, or a single paragraph b The resulting client-side event callback function is of the following form. -function onErrorHandler(validator, sender) +function onErrorHandler(sender, parameter) { alert("hello"); } -Where validator is the current client-side validator and sender +Where sender is the current client-side validator and parameter is the control that invoked the validator.

    Conditional Validation Example

    The following example show the use of client-side and server side validator events. The example -demonstrates conditional validation. +demonstrates conditional validation.

    + \ No newline at end of file -- cgit v1.2.3