summaryrefslogtreecommitdiff
path: root/framework/Web/UI/TControl.php
diff options
context:
space:
mode:
authorwei <>2006-05-02 08:28:17 +0000
committerwei <>2006-05-02 08:28:17 +0000
commitd255f4d0e332740b3984e21ce3f7a4a4f1968ba3 (patch)
tree84bf54643e3a188330f6b7b5043efeed1aa44b6e /framework/Web/UI/TControl.php
parentc5983c0440913cd67f3744c7dda3c3bfc7eee0ed (diff)
Adding more work on ActiveControls.
Diffstat (limited to 'framework/Web/UI/TControl.php')
-rw-r--r--framework/Web/UI/TControl.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/framework/Web/UI/TControl.php b/framework/Web/UI/TControl.php
index 1b5394ba..1db01df6 100644
--- a/framework/Web/UI/TControl.php
+++ b/framework/Web/UI/TControl.php
@@ -1215,9 +1215,6 @@ 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))
{
@@ -1238,6 +1235,10 @@ class TControl extends TApplicationComponent implements IRenderable, IBindable
}
}
$this->_stage=self::CS_PRERENDERED;
+
+
+ if($this->getEnabled() && $this instanceof IPostBackDataHandler)
+ $this->getPage()->registerPostDataLoader($this);
}
/**