diff options
author | xue <> | 2005-12-05 13:57:49 +0000 |
---|---|---|
committer | xue <> | 2005-12-05 13:57:49 +0000 |
commit | 703b3edacfbb12b57510d1ca441b6bbbb2fc16ab (patch) | |
tree | 9cdffc4d80faef0646fab2f5a404c9a20a3d91d2 /demos | |
parent | f2cb7a3cf82f4788e4e96bd42fa617d6ea8e0fb0 (diff) |
Diffstat (limited to 'demos')
-rw-r--r-- | demos/controls/protected/pages/HomePage.php | 5 | ||||
-rw-r--r-- | demos/controls/protected/pages/HomePage.tpl | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/demos/controls/protected/pages/HomePage.php b/demos/controls/protected/pages/HomePage.php index 334c826c..d7f7e1be 100644 --- a/demos/controls/protected/pages/HomePage.php +++ b/demos/controls/protected/pages/HomePage.php @@ -17,6 +17,11 @@ class HomePage extends TPage $sender->BackColor='';
$this->TextBox->focus();
}
+
+ public function linkClicked($sender,$param)
+ {
+ $sender->Text="Hello World";
+ }
}
?>
\ No newline at end of file diff --git a/demos/controls/protected/pages/HomePage.tpl b/demos/controls/protected/pages/HomePage.tpl index f3860d5b..a37a0bd0 100644 --- a/demos/controls/protected/pages/HomePage.tpl +++ b/demos/controls/protected/pages/HomePage.tpl @@ -12,5 +12,6 @@ <com:TImageButton ImageUrl=<%~/fungii_logo.gif %> /><br/>
<com:THyperLink Text="Visit a 'classless' page" NavigateUrl="?sp=page.plain" /> |
<com:THyperLink Text="Visit member only page" NavigateUrl="?sp=page.private.member" />
+<com:TLinkButton Text="Click Me" Click="linkClicked" />
</com:TForm>
</com:TContent>
\ No newline at end of file |