diff options
author | wei <> | 2006-09-23 00:05:08 +0000 |
---|---|---|
committer | wei <> | 2006-09-23 00:05:08 +0000 |
commit | 0ccf3763474a18b72b6a166399fc1cf569b867f8 (patch) | |
tree | 15d91d804c0da27fb8995726e48c0001df1f95c8 /demos/quickstart/protected/pages/ActiveControls/Samples/TActiveHyperLink/Home.php | |
parent | b6e12bedc51b56cf0f1a5930e69a4c377cd3dfe5 (diff) |
Fixed #389 and add OnPreDispatch for TCallbackClientSide
Diffstat (limited to 'demos/quickstart/protected/pages/ActiveControls/Samples/TActiveHyperLink/Home.php')
-rw-r--r-- | demos/quickstart/protected/pages/ActiveControls/Samples/TActiveHyperLink/Home.php | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveHyperLink/Home.php b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveHyperLink/Home.php new file mode 100644 index 00000000..c125d902 --- /dev/null +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveHyperLink/Home.php @@ -0,0 +1,26 @@ +<?php
+
+class Home extends TPage
+{
+ function button1_clicked($sender, $param)
+ {
+ $this->link1->NavigateUrl = 'http://www.google.com';
+ }
+
+ function button2_clicked($sender, $param)
+ {
+ $this->link2->Target = '_self';
+ }
+
+ function button3_clicked($sender, $param)
+ {
+ $this->link3->Text = 'PradoSoft.com';
+ }
+
+ function button4_clicked($sender, $param)
+ {
+ $img = $this->publishFilePath(dirname(__FILE__).'/hello_world.gif');
+ $this->link4->ImageUrl = $img;
+ }
+}
+?>
\ No newline at end of file |