From 5a47e8d5c472bfbe07abb464cdcc5bbc721f8d59 Mon Sep 17 00:00:00 2001 From: wei <> Date: Sat, 26 Aug 2006 12:27:37 +0000 Subject: MINOR BC BREAK (javascript related). Update javascript effect library to 1.6.2, unify javascript event handler function signatures. --- .../Controls/Samples/TClientSideValidator/Home.page | 18 +++++++++--------- .../protected/pages/Controls/Validation.page | 9 +++++---- 2 files changed, 14 insertions(+), 13 deletions(-) (limited to 'demos') diff --git a/demos/quickstart/protected/pages/Controls/Samples/TClientSideValidator/Home.page b/demos/quickstart/protected/pages/Controls/Samples/TClientSideValidator/Home.page index e96e7c12..2bfb1a28 100644 --- a/demos/quickstart/protected/pages/Controls/Samples/TClientSideValidator/Home.page +++ b/demos/quickstart/protected/pages/Controls/Samples/TClientSideValidator/Home.page @@ -4,16 +4,16 @@
- -
+ - + - + Event.OnLoad(function() { 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