From c7ab73d6448aad8aa630878fc83298b762505194 Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Sun, 6 Mar 2016 18:26:31 +0100 Subject: Revert part of #553; fix #574 --- .../pages/ActiveControls/Samples/TActiveCustomValidator/Home.php | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'demos/quickstart/protected/pages/ActiveControls/Samples/TActiveCustomValidator/Home.php') diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveCustomValidator/Home.php b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveCustomValidator/Home.php index 916432ca..b8d4e28a 100755 --- a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveCustomValidator/Home.php +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveCustomValidator/Home.php @@ -6,5 +6,13 @@ class Home extends TPage { $param->IsValid = $this->textbox1->Text == 'Prado'; } + + public function button1_oncallback($sender, $param) + { + if($this->IsValid) + $this->label1->Text='Callback success'; + else + $this->label1->Text='Validation failed'; + } } -- cgit v1.2.3