From 10b65d6d03ee0afc1ec1a50f320af42a79f5492b Mon Sep 17 00:00:00 2001 From: wei <> Date: Sun, 30 Apr 2006 00:15:23 +0000 Subject: Adding Callback foundations. --- framework/Web/UI/TControl.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'framework/Web/UI/TControl.php') diff --git a/framework/Web/UI/TControl.php b/framework/Web/UI/TControl.php index 1f1d6c4d..1b5394ba 100644 --- a/framework/Web/UI/TControl.php +++ b/framework/Web/UI/TControl.php @@ -867,7 +867,7 @@ class TControl extends TApplicationComponent implements IRenderable, IBindable * Do not call this method directly. Instead, call {@link ensureChildControls} * to ensure child controls are created only once. */ - protected function createChildControls() + public function createChildControls() { } @@ -1215,6 +1215,9 @@ class TControl extends TApplicationComponent implements IRenderable, IBindable protected function preRenderRecursive() { $this->autoDataBindProperties(); + + if($this->getEnabled() && $this instanceof IPostBackDataHandler) + $this->getPage()->registerPostDataLoader($this); if($this->getVisible(false)) { -- cgit v1.2.3