diff options
Diffstat (limited to 'demos/quickstart/protected/pages/ActiveControls/Samples/TInPlaceTextBox')
-rw-r--r-- | demos/quickstart/protected/pages/ActiveControls/Samples/TInPlaceTextBox/Home.page | 17 | ||||
-rw-r--r-- | demos/quickstart/protected/pages/ActiveControls/Samples/TInPlaceTextBox/Home.php | 11 |
2 files changed, 28 insertions, 0 deletions
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TInPlaceTextBox/Home.page b/demos/quickstart/protected/pages/ActiveControls/Samples/TInPlaceTextBox/Home.page new file mode 100644 index 00000000..cd55a432 --- /dev/null +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TInPlaceTextBox/Home.page @@ -0,0 +1,17 @@ +<com:TContent ID="body">
+
+<h1>TInPlaceTextBox Samples</h1>
+
+<table class="sampletable">
+
+<tr><td class="samplenote">
+An in-place textbox text updating a label when its text changes:
+</td><td class="sampleaction">
+<com:TInPlaceTextBox ID="txt1" Text="This is an in-place textbox" OnTextChanged="textChanged" />
+<br/><com:TActiveLabel Text="This is a label" ID="label1"
+/>
+</td></tr>
+
+</table>
+
+<div class="last-modified">$Id$</div></com:TContent>
\ No newline at end of file diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TInPlaceTextBox/Home.php b/demos/quickstart/protected/pages/ActiveControls/Samples/TInPlaceTextBox/Home.php new file mode 100644 index 00000000..5c132fd6 --- /dev/null +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TInPlaceTextBox/Home.php @@ -0,0 +1,11 @@ +<?php + +class Home extends TPage +{ + public function textChanged($sender,$param) + { + $this->label1->Text=$this->txt1->Text; + } +} + +?>
\ No newline at end of file |