From 9f2905f5e2a6d0ab33e4e2d82162183cfd63a042 Mon Sep 17 00:00:00 2001 From: wei <> Date: Wed, 13 Sep 2006 23:33:41 +0000 Subject: Fixed #376 --- .../ActiveControls/ActiveCustomValidator.page | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 demos/quickstart/protected/pages/ActiveControls/ActiveCustomValidator.page (limited to 'demos/quickstart/protected/pages/ActiveControls/ActiveCustomValidator.page') diff --git a/demos/quickstart/protected/pages/ActiveControls/ActiveCustomValidator.page b/demos/quickstart/protected/pages/ActiveControls/ActiveCustomValidator.page new file mode 100644 index 00000000..f97ea40d --- /dev/null +++ b/demos/quickstart/protected/pages/ActiveControls/ActiveCustomValidator.page @@ -0,0 +1,23 @@ + + +

TActiveCustomValidator

+ + +

Performs custom validation using only server-side OnServerValidate + validation event. The client-side uses callbacks to raise + onServerValidate event. The ClientValidationFunction property + is disabled and will throw an exception if trying to set this property. +

+ +

Beware that the onServerValidate may be +raised when the control to validate on the client side +changes value, that is, the server validation may be called many times. + +After the callback or postback, the {@link onServerValidate onServerValidate} +is raised once more. The IsCallback property of the TPage class +will be true when validation is made during a callback request. +

+ + + +
-- cgit v1.2.3