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
---
.gitattributes | 4 ++
.../pages/ActiveControls/ActiveHyperLink.page | 15 +++++
.../protected/pages/ActiveControls/Home.page | 2 +-
.../Samples/TActiveHyperLink/Home.page | 70 +++++++++++++++++++++
.../Samples/TActiveHyperLink/Home.php | 26 ++++++++
.../Samples/TActiveHyperLink/hello_world.gif | Bin 0 -> 1602 bytes
framework/Web/Javascripts/js/compressed/ajax.js | 3 +-
framework/Web/Javascripts/js/debug/ajax.js | 3 +
framework/Web/Javascripts/prado/ajax3.js | 3 +
.../Web/UI/ActiveControls/TCallbackClientSide.php | 17 +++++
.../UI/ActiveControls/TTimeTriggeredCallback.php | 23 +++++++
11 files changed, 164 insertions(+), 2 deletions(-)
create mode 100644 demos/quickstart/protected/pages/ActiveControls/ActiveHyperLink.page
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
diff --git a/.gitattributes b/.gitattributes
index f40827f9..f7221a5d 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -769,6 +769,7 @@ demos/quickstart/protected/index/quickstart/segments -text
demos/quickstart/protected/pages/ActiveControls/ActiveButton.page -text
demos/quickstart/protected/pages/ActiveControls/ActiveCheckBox.page -text
demos/quickstart/protected/pages/ActiveControls/ActiveCustomValidator.page -text
+demos/quickstart/protected/pages/ActiveControls/ActiveHyperLink.page -text
demos/quickstart/protected/pages/ActiveControls/Home.page -text
demos/quickstart/protected/pages/ActiveControls/Introduction.page -text
demos/quickstart/protected/pages/ActiveControls/Samples/TActiveButton/Home.page -text
@@ -777,6 +778,9 @@ demos/quickstart/protected/pages/ActiveControls/Samples/TActiveCheckBox/Home.pag
demos/quickstart/protected/pages/ActiveControls/Samples/TActiveCheckBox/Home.php -text
demos/quickstart/protected/pages/ActiveControls/Samples/TActiveCustomValidator/Home.page -text
demos/quickstart/protected/pages/ActiveControls/Samples/TActiveCustomValidator/Home.php -text
+demos/quickstart/protected/pages/ActiveControls/Samples/TActiveHyperLink/Home.page -text
+demos/quickstart/protected/pages/ActiveControls/Samples/TActiveHyperLink/Home.php -text
+demos/quickstart/protected/pages/ActiveControls/Samples/TActiveHyperLink/hello_world.gif -text
demos/quickstart/protected/pages/ActiveControls/Samples/config.xml -text
demos/quickstart/protected/pages/ActiveControls/TActiveButtonClass.png -text
demos/quickstart/protected/pages/ActiveControls/TActiveButtonClass.vsd -text
diff --git a/demos/quickstart/protected/pages/ActiveControls/ActiveHyperLink.page b/demos/quickstart/protected/pages/ActiveControls/ActiveHyperLink.page
new file mode 100644
index 00000000..e8298ee1
--- /dev/null
+++ b/demos/quickstart/protected/pages/ActiveControls/ActiveHyperLink.page
@@ -0,0 +1,15 @@
+
+The active control counterpart of THyperLink
+component. During a callback request, changes to the Text, ImageUrl,
+NavigateUrl and Target properties on the server side will also
+change the corresponding attributes and content on the client-side.
+TActiveHyperLink
+
+A regular hyperlink: + |
+Welcome to
+ |
+
+ |
+
+A text hyperlink with css style: + |
+Welcome to
+ |
+
+ |
+
+An image hyperlink: + |
+ |
+
+ |
+
+A hyerplink with body contents as link text: + |
+ |
+
+ |
+