From 67666aaccb4b4743a084b214722e1173e827e9d1 Mon Sep 17 00:00:00 2001 From: "ctrlaltca@gmail.com" <> Date: Wed, 1 Jun 2011 22:14:00 +0000 Subject: upported recent documentation changes from branch/3.1 to trunk/ --- .../ActiveControls/Samples/TActivePanel/Home.page | 24 ++++++++++++++++++++++ .../ActiveControls/Samples/TActivePanel/Home.php | 21 +++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 demos/quickstart/protected/pages/ActiveControls/Samples/TActivePanel/Home.page create mode 100644 demos/quickstart/protected/pages/ActiveControls/Samples/TActivePanel/Home.php (limited to 'demos/quickstart/protected/pages/ActiveControls/Samples/TActivePanel') diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActivePanel/Home.page b/demos/quickstart/protected/pages/ActiveControls/Samples/TActivePanel/Home.page new file mode 100644 index 00000000..1fb7ca23 --- /dev/null +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActivePanel/Home.page @@ -0,0 +1,24 @@ + + +

TActivePanel Samples

+ + + + +
+Active panel updated on callback: + + +This is panel content +
a checkbox: +
a textbox: +
a label: +
+
+When you press the button, the panel contents will change. Note that out of the +panel and the button, all the other controls are not active but gets updated +anyway since they are placed inside the active panel. +
+
+ +
$Id$
\ No newline at end of file diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActivePanel/Home.php b/demos/quickstart/protected/pages/ActiveControls/Samples/TActivePanel/Home.php new file mode 100644 index 00000000..ae174f59 --- /dev/null +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActivePanel/Home.php @@ -0,0 +1,21 @@ +check1->Checked = !$this->check1->Checked; + if($this->txt1->Text=="") + $this->txt1->Text="changes happens"; + else + $this->txt1->Text=""; + if($this->label1->Text=="") + $this->label1->Text="label has changed, too"; + else + $this->label1->Text=""; + + $this->panel1->render($param->NewWriter); + } +} + +?> \ No newline at end of file -- cgit v1.2.3