summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDatePicker
diff options
context:
space:
mode:
authorctrlaltca@gmail.com <>2011-06-02 19:27:21 +0000
committerctrlaltca@gmail.com <>2011-06-02 19:27:21 +0000
commit0daa38a4f5bb43d7332d681a98ccb693bc579230 (patch)
tree2b6435d1cdd4acddac1281aba120957ecc7cfe1a /demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDatePicker
parent3490b6226263b05d980d040a8fbf933c23979ab6 (diff)
further documentation updates: everything else plus some things that were not even listed. Only T*RatingList has been left out
Diffstat (limited to 'demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDatePicker')
-rw-r--r--demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDatePicker/Home.page17
-rw-r--r--demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDatePicker/Home.php11
2 files changed, 28 insertions, 0 deletions
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDatePicker/Home.page b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDatePicker/Home.page
new file mode 100644
index 00000000..fba7ec45
--- /dev/null
+++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDatePicker/Home.page
@@ -0,0 +1,17 @@
+<com:TContent ID="body">
+
+<h1>TActiveDatePicker Samples</h1>
+
+<table class="sampletable">
+
+<tr>
+ <td class="samplenote">Default TActiveDatePicker triggering a callback to a label</td>
+ <td class="sampleaction">
+ <com:TActiveDatePicker ID="date1" OnCallback="dateChanged"/>
+ <com:TActiveLabel 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/TActiveDatePicker/Home.php b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDatePicker/Home.php
new file mode 100644
index 00000000..41f8359e
--- /dev/null
+++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDatePicker/Home.php
@@ -0,0 +1,11 @@
+<?php
+
+class Home extends TPage
+{
+ public function dateChanged($sender, $param)
+ {
+ $this->label1->Text = date("r", $this->date1->TimeStamp);
+ }
+}
+
+?> \ No newline at end of file