From 05879b19350009f9d9c9db6868b38619d3cb4bdc Mon Sep 17 00:00:00 2001
From: "ctrlaltca@gmail.com" <>
Date: Wed, 1 Jun 2011 21:01:57 +0000
Subject: added documentation for TActiveLabel class
---
.../pages/ActiveControls/ActiveLabel.page | 16 ++++++++++
.../protected/pages/ActiveControls/Home.page | 6 ++--
.../ActiveControls/Samples/TActiveLabel/Home.page | 34 ++++++++++++++++++++++
.../ActiveControls/Samples/TActiveLabel/Home.php | 16 ++++++++++
4 files changed, 69 insertions(+), 3 deletions(-)
create mode 100644 demos/quickstart/protected/pages/ActiveControls/ActiveLabel.page
create mode 100644 demos/quickstart/protected/pages/ActiveControls/Samples/TActiveLabel/Home.page
create mode 100644 demos/quickstart/protected/pages/ActiveControls/Samples/TActiveLabel/Home.php
(limited to 'demos/quickstart/protected')
diff --git a/demos/quickstart/protected/pages/ActiveControls/ActiveLabel.page b/demos/quickstart/protected/pages/ActiveControls/ActiveLabel.page
new file mode 100644
index 00000000..8db4cf34
--- /dev/null
+++ b/demos/quickstart/protected/pages/ActiveControls/ActiveLabel.page
@@ -0,0 +1,16 @@
+
+TActiveLabel is the active control counterpart of TLabel component. When
+ActiveControl.EnableUpdate property is true during a callback request, setting Text
+property will also set the text of the label on the client upon callback
+completion. Similarly, setting ForControl will also set
+the client-side "for" attribute on the label.
+TActiveLabel
+
+An active label text being set as the result of a callback: + |
+ |
+Upon button click, the textbox contents will be set on the label. Note that text needs to be properly escaped to avoid html injections: + |
+ |