summaryrefslogtreecommitdiff
path: root/demos/controls/protected/pages/HomePage.php
diff options
context:
space:
mode:
Diffstat (limited to 'demos/controls/protected/pages/HomePage.php')
-rw-r--r--demos/controls/protected/pages/HomePage.php9
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==='')