diff options
author | xue <> | 2005-12-15 04:03:34 +0000 |
---|---|---|
committer | xue <> | 2005-12-15 04:03:34 +0000 |
commit | 14e672d372fcde114114e97bdc894f14f34e37a3 (patch) | |
tree | 2ad0bc9d69e59e7fdf7352a640fbd2c8c269a5e8 /demos/controls/protected/pages/HomePage.php | |
parent | 90e3aab1c0c819c3e0f0870cf133527af7705ea6 (diff) |
Test for new databinding feature.
Diffstat (limited to 'demos/controls/protected/pages/HomePage.php')
-rw-r--r-- | demos/controls/protected/pages/HomePage.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/demos/controls/protected/pages/HomePage.php b/demos/controls/protected/pages/HomePage.php index d599dd95..50bdc9e7 100644 --- a/demos/controls/protected/pages/HomePage.php +++ b/demos/controls/protected/pages/HomePage.php @@ -9,6 +9,15 @@ class HomePage extends TPage $this->Theme='';
}
+ public function onLoad($param)
+ {
+ parent::onLoad($param);
+ if(!$this->IsPostBack)
+ {
+ $this->dataBind();
+ }
+ }
+
public function testClick($sender,$param)
{
if($sender->BackColor==='')
|