From 0ccf3763474a18b72b6a166399fc1cf569b867f8 Mon Sep 17 00:00:00 2001 From: wei <> Date: Sat, 23 Sep 2006 00:05:08 +0000 Subject: Fixed #389 and add OnPreDispatch for TCallbackClientSide --- .../Samples/TActiveHyperLink/Home.page | 70 +++++++++++++++++++++ .../Samples/TActiveHyperLink/Home.php | 26 ++++++++ .../Samples/TActiveHyperLink/hello_world.gif | Bin 0 -> 1602 bytes 3 files changed, 96 insertions(+) create mode 100644 demos/quickstart/protected/pages/ActiveControls/Samples/TActiveHyperLink/Home.page create mode 100644 demos/quickstart/protected/pages/ActiveControls/Samples/TActiveHyperLink/Home.php create mode 100644 demos/quickstart/protected/pages/ActiveControls/Samples/TActiveHyperLink/hello_world.gif (limited to 'demos/quickstart/protected/pages/ActiveControls/Samples') diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveHyperLink/Home.page b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveHyperLink/Home.page new file mode 100644 index 00000000..9a314493 --- /dev/null +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveHyperLink/Home.page @@ -0,0 +1,70 @@ + + +

TActiveHyperLink Samples

+ + + + + + + + + + + + + + + + + + + +
+A regular hyperlink: + +Welcome to +. + + +
+A text hyperlink with css style: + +Welcome to +. + + +
+An image hyperlink: + + + Text="Hello World" />. + + +
+A hyerplink with body contents as link text: + + +Body contents + + + +
+ +
\ No newline at end of file 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 @@ +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 diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveHyperLink/hello_world.gif b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveHyperLink/hello_world.gif new file mode 100644 index 00000000..bc81443c Binary files /dev/null and b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveHyperLink/hello_world.gif differ -- cgit v1.2.3