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