summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/ActiveControls
diff options
context:
space:
mode:
authorctrlaltca@gmail.com <>2011-06-02 19:49:27 +0000
committerctrlaltca@gmail.com <>2011-06-02 19:49:27 +0000
commitcb90a05700b7ca6b621420598ff232aa2285310c (patch)
treedd18eb5af82decff38d18ec26d67fee1c6a8659d /demos/quickstart/protected/pages/ActiveControls
parent6394a6ffe3a9f3e4e698603b94503dc96f1e2652 (diff)
upported to trunk/ last doc changes, everything should be fine now
Diffstat (limited to 'demos/quickstart/protected/pages/ActiveControls')
-rw-r--r--demos/quickstart/protected/pages/ActiveControls/ActiveCheckBoxList.page2
-rw-r--r--demos/quickstart/protected/pages/ActiveControls/ActiveDataGrid.page12
-rw-r--r--demos/quickstart/protected/pages/ActiveControls/ActiveDataList.page2
-rw-r--r--demos/quickstart/protected/pages/ActiveControls/ActiveDatePicker.page16
-rw-r--r--demos/quickstart/protected/pages/ActiveControls/ActiveDropDownList.page2
-rw-r--r--demos/quickstart/protected/pages/ActiveControls/ActiveFileUpload.page33
-rw-r--r--demos/quickstart/protected/pages/ActiveControls/ActiveHiddenField.page12
-rw-r--r--demos/quickstart/protected/pages/ActiveControls/ActiveHyperLink.page2
-rw-r--r--demos/quickstart/protected/pages/ActiveControls/ActiveImage.page2
-rw-r--r--demos/quickstart/protected/pages/ActiveControls/ActiveImageButton.page2
-rw-r--r--demos/quickstart/protected/pages/ActiveControls/ActiveLabel.page2
-rw-r--r--demos/quickstart/protected/pages/ActiveControls/ActiveLinkButton.page2
-rw-r--r--demos/quickstart/protected/pages/ActiveControls/ActiveListBox.page2
-rw-r--r--demos/quickstart/protected/pages/ActiveControls/ActiveMultiView.page2
-rw-r--r--demos/quickstart/protected/pages/ActiveControls/ActivePanel.page2
-rw-r--r--demos/quickstart/protected/pages/ActiveControls/ActiveRadioButton.page2
-rw-r--r--demos/quickstart/protected/pages/ActiveControls/ActiveRadioButtonList.page2
-rw-r--r--demos/quickstart/protected/pages/ActiveControls/ActiveRepeater.page2
-rw-r--r--demos/quickstart/protected/pages/ActiveControls/ActiveTextBox.page2
-rw-r--r--demos/quickstart/protected/pages/ActiveControls/AutoComplete.page4
-rw-r--r--demos/quickstart/protected/pages/ActiveControls/Callback.page34
-rw-r--r--demos/quickstart/protected/pages/ActiveControls/CallbackClientScript.page2
-rw-r--r--demos/quickstart/protected/pages/ActiveControls/CallbackClientSide.page6
-rw-r--r--demos/quickstart/protected/pages/ActiveControls/CallbackEventParameter.page26
-rwxr-xr-xdemos/quickstart/protected/pages/ActiveControls/DragDrop.page4
-rw-r--r--demos/quickstart/protected/pages/ActiveControls/EventTriggeredCallback.page15
-rw-r--r--demos/quickstart/protected/pages/ActiveControls/Home.page112
-rw-r--r--demos/quickstart/protected/pages/ActiveControls/InPlaceTextBox.page42
-rw-r--r--demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDatePicker/Home.page17
-rw-r--r--demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDatePicker/Home.php11
-rw-r--r--demos/quickstart/protected/pages/ActiveControls/Samples/TActiveFileUpload/Home.page15
-rw-r--r--demos/quickstart/protected/pages/ActiveControls/Samples/TActiveFileUpload/Home.php21
-rw-r--r--demos/quickstart/protected/pages/ActiveControls/Samples/TCallback/Home.page57
-rw-r--r--demos/quickstart/protected/pages/ActiveControls/Samples/TCallback/Home.php24
-rw-r--r--demos/quickstart/protected/pages/ActiveControls/Samples/TEventTriggeredCallback/Home.page18
-rw-r--r--demos/quickstart/protected/pages/ActiveControls/Samples/TEventTriggeredCallback/Home.php16
-rw-r--r--demos/quickstart/protected/pages/ActiveControls/Samples/TInPlaceTextBox/Home.page17
-rw-r--r--demos/quickstart/protected/pages/ActiveControls/Samples/TInPlaceTextBox/Home.php11
-rw-r--r--demos/quickstart/protected/pages/ActiveControls/Samples/TTimeTriggeredCallback/Home.page24
-rw-r--r--demos/quickstart/protected/pages/ActiveControls/Samples/TTimeTriggeredCallback/Home.php22
-rw-r--r--demos/quickstart/protected/pages/ActiveControls/Samples/TValueTriggeredCallback/Home.page17
-rw-r--r--demos/quickstart/protected/pages/ActiveControls/Samples/TValueTriggeredCallback/Home.php11
-rw-r--r--demos/quickstart/protected/pages/ActiveControls/TimeTriggeredCallback.page16
-rw-r--r--demos/quickstart/protected/pages/ActiveControls/ValueTriggeredCallback.page18
44 files changed, 607 insertions, 56 deletions
diff --git a/demos/quickstart/protected/pages/ActiveControls/ActiveCheckBoxList.page b/demos/quickstart/protected/pages/ActiveControls/ActiveCheckBoxList.page
index 2560ece5..07068a43 100644
--- a/demos/quickstart/protected/pages/ActiveControls/ActiveCheckBoxList.page
+++ b/demos/quickstart/protected/pages/ActiveControls/ActiveCheckBoxList.page
@@ -1,6 +1,6 @@
<com:TContent ID="body" >
-<h1>TActiveCheckBoxList</h1>
+<h1 id="144010">TActiveCheckBoxList</h1>
<com:DocLink ClassPath="System.Web.UI.ActiveControls.TActiveCheckBoxList" />
<p class="block-content">
diff --git a/demos/quickstart/protected/pages/ActiveControls/ActiveDataGrid.page b/demos/quickstart/protected/pages/ActiveControls/ActiveDataGrid.page
index 9a82743d..9f413a83 100644
--- a/demos/quickstart/protected/pages/ActiveControls/ActiveDataGrid.page
+++ b/demos/quickstart/protected/pages/ActiveControls/ActiveDataGrid.page
@@ -34,16 +34,16 @@ Please refer to the original documentation of <a href="?page=Controls.DataGrid">
</p>
-<h2>Columns</h2>
+<h2 id="150012">Columns</h2>
-<h3>Automatically Generated Columns</h3>
+<h3 id="150016">Automatically Generated Columns</h3>
<p class="block-content">
TDataGrid by default will create a list of columns based on the structure of the bound data. TDataGrid will read the first row of the data, extract the field names of the row, and construct a column for each field. Each column is of type <tt>TActiveBoundColumn</tt>. All of this happens in an ajax callback.
</p>
<com:RunBar PagePath="ActiveControls.Samples.TActiveDataGrid.Sample1" />
-<h3>Manually Specified Columns</h3>
+<h3 id="150017">Manually Specified Columns</h3>
<p class="block-content">
The following example uses manually specified columns to show a list of book information,
</p>
@@ -60,7 +60,7 @@ Each column can be shown or hidden in a callback.
<com:RunBar PagePath="ActiveControls.Samples.TActiveDataGrid.Sample2" />
-<h2>Interacting with TActiveDataGrid</h2>
+<h2 id="150013">Interacting with TActiveDataGrid</h2>
<p class="block-content">
The following example shows how to make the previous book information table an interactive one. It allows users to edit and delete book items from the table. Two additional columns are used in the example to allow users interact with the datagrid: <tt>TActiveEditCommandColumn</tt> and <tt>TActiveButtonColumn</tt>. In addition,
<tt>TActiveDropDownListColumn</tt> replaces the previous <tt>TActiveTemplateColumn</tt> to allow users to select a rating from a dropdown list. Note, it is also possible to use <tt>TActiveTemplateColumn</tt> to achieve the same task.
@@ -68,13 +68,13 @@ All the iteration is done using AJAX callbacks.
</p>
<com:RunBar PagePath="ActiveControls.Samples.TActiveDataGrid.Sample3" />
-<h2>Sorting</h2>
+<h2 id="150014">Sorting</h2>
<p class="block-content">
The following example turns the datagrid in <a href="?page=ActiveControls.Samples.TActiveDataGrid.Sample2">Example 2</a> into a sortable one. Users can click on the link button displayed in the header of any column, and the data will be sorted in ascending order along that column. The grid is sorted and rendered upon a callback request.
</p>
<com:RunBar PagePath="ActiveControls.Samples.TActiveDataGrid.Sample4" />
-<h2>Paging</h2>
+<h2 id="150015">Paging</h2>
<p class="block-content">
The following example enables the paging functionality of the datagrid shown in <a href="?page=ActiveControls.Samples.TActiveDataGrid.Sample1">Example 1</a>. In this example, you move between the datagrid pages clicking on the pager links. The grid reacts to paging rendering itself as the result of a callback request. Note that you can't change the pager style upon callback.
</p>
diff --git a/demos/quickstart/protected/pages/ActiveControls/ActiveDataList.page b/demos/quickstart/protected/pages/ActiveControls/ActiveDataList.page
index 12fb941f..cef53c66 100644
--- a/demos/quickstart/protected/pages/ActiveControls/ActiveDataList.page
+++ b/demos/quickstart/protected/pages/ActiveControls/ActiveDataList.page
@@ -1,6 +1,6 @@
<com:TContent ID="body" >
-<h1>TActiveDataList</h1>
+<h1 id="148011">TActiveDataList</h1>
<com:DocLink ClassPath="System.Web.UI.ActiveControls.TActiveDataList" />
<p class="block-content">
diff --git a/demos/quickstart/protected/pages/ActiveControls/ActiveDatePicker.page b/demos/quickstart/protected/pages/ActiveControls/ActiveDatePicker.page
new file mode 100644
index 00000000..b60036d0
--- /dev/null
+++ b/demos/quickstart/protected/pages/ActiveControls/ActiveDatePicker.page
@@ -0,0 +1,16 @@
+<com:TContent ID="body" >
+
+<h1 id="152002">TActiveDatePicker</h1>
+<com:DocLink ClassPath="System.Web.UI.ActiveControls.TActiveDatePicker" />
+
+<p class="block-content">
+<tt>TActiveDatePicker</tt> is the active control counter part to <tt>TDatePicker</tt> control.
+When the date selection is changed, the <tt>OnCallback</tt> event is raised.
+</p>
+<p class="block-content">
+Please refer to the documentation of <tt>TDatePicker</tt> for further usage informations.
+</p>
+
+<com:RunBar PagePath="ActiveControls.Samples.TActiveDatePicker.Home" />
+
+<div class="last-modified">$Id$</div></com:TContent> \ No newline at end of file
diff --git a/demos/quickstart/protected/pages/ActiveControls/ActiveDropDownList.page b/demos/quickstart/protected/pages/ActiveControls/ActiveDropDownList.page
index 4400c552..6dfc870a 100644
--- a/demos/quickstart/protected/pages/ActiveControls/ActiveDropDownList.page
+++ b/demos/quickstart/protected/pages/ActiveControls/ActiveDropDownList.page
@@ -1,6 +1,6 @@
<com:TContent ID="body" >
-<h1>TActiveDropDownList</h1>
+<h1 id="152018">TActiveDropDownList</h1>
<com:DocLink ClassPath="System.Web.UI.ActiveControls.TActiveDropDownList" />
<p class="block-content">
diff --git a/demos/quickstart/protected/pages/ActiveControls/ActiveFileUpload.page b/demos/quickstart/protected/pages/ActiveControls/ActiveFileUpload.page
new file mode 100644
index 00000000..099e33f7
--- /dev/null
+++ b/demos/quickstart/protected/pages/ActiveControls/ActiveFileUpload.page
@@ -0,0 +1,33 @@
+<com:TContent ID="body" >
+
+<h1 id="156003">TActiveFileUpload</h1>
+<com:DocLink ClassPath="System.Web.UI.ActiveControls.TActiveFileUpload" />
+
+<p class="block-content">
+<tt>TActiveFileUpload</tt> displays a file upload field on a page. Upon postback,
+the text entered into the field will be treated as the name of the file
+that will be uploaded to the server. The property <tt>HasFile</tt>
+indicates whether the file upload is successful. If successful, the file
+may be obtained by calling<tt>saveAs</tt> to save it at a specified place.
+You can use <tt>FileName</tt>, <tt>FileType</tt>,
+<tt>FileSize</tt> to get the original client-side file name,
+the file mime type, and the file size information. If the upload is not
+successful, <tt>ErrorCode</tt> contains the error code
+describing the cause of failure.
+</p>
+
+<p class="block-content">
+TActiveFileUpload raises <tt>OnFileUpload</tt> event if a file is uploaded
+(whether it succeeds or not).
+</p>
+
+<p class="block-content">
+TActiveFileUpload actually does a postback in a hidden IFrame, and then does a callback.
+This callback then raises the <tt>OnFileUpload</tt> event. After the postback
+a status icon is displayed; either a green checkmark if the upload is successful,
+or a red x if there was an error.
+</p>
+
+<com:RunBar PagePath="ActiveControls.Samples.TActiveFileUpload.Home" />
+
+<div class="last-modified">$Id$</div></com:TContent> \ No newline at end of file
diff --git a/demos/quickstart/protected/pages/ActiveControls/ActiveHiddenField.page b/demos/quickstart/protected/pages/ActiveControls/ActiveHiddenField.page
new file mode 100644
index 00000000..23240da8
--- /dev/null
+++ b/demos/quickstart/protected/pages/ActiveControls/ActiveHiddenField.page
@@ -0,0 +1,12 @@
+<com:TContent ID="body" >
+
+<h1 id="158004">TActiveHiddenField</h1>
+<com:DocLink ClassPath="System.Web.UI.ActiveControls.TActiveHiddenField" />
+
+<p class="block-content">
+<tt>TActiveHiddenField</tt> is the active control counterpart of <tt>THiddenField</tt> component.
+It displays a hidden input field on a Web page. The value of the input field can be accessed and changed
+on callback via the <tt>Value</tt> property.
+</p>
+
+<div class="last-modified">$Id$</div></com:TContent> \ No newline at end of file
diff --git a/demos/quickstart/protected/pages/ActiveControls/ActiveHyperLink.page b/demos/quickstart/protected/pages/ActiveControls/ActiveHyperLink.page
index a67462cf..e5e51d1f 100644
--- a/demos/quickstart/protected/pages/ActiveControls/ActiveHyperLink.page
+++ b/demos/quickstart/protected/pages/ActiveControls/ActiveHyperLink.page
@@ -3,7 +3,7 @@
<h1 id="ActiveHyperLink">TActiveHyperLink</h1>
<com:DocLink ClassPath="System.Web.UI.ActiveControls.TActiveHyperLink" />
-<p>
+<p id="770021" class="block-content">
The active control counterpart of <a href=?page=Controls.HyperLink">THyperLink</a>
component. During a callback request, changes to the <tt>Text</tt>, <tt>ImageUrl</tt>,
<tt>NavigateUrl</tt> and <tt>Target</tt> properties on the server side will also
diff --git a/demos/quickstart/protected/pages/ActiveControls/ActiveImage.page b/demos/quickstart/protected/pages/ActiveControls/ActiveImage.page
index 8cce8c9e..b9da97c9 100644
--- a/demos/quickstart/protected/pages/ActiveControls/ActiveImage.page
+++ b/demos/quickstart/protected/pages/ActiveControls/ActiveImage.page
@@ -1,6 +1,6 @@
<com:TContent ID="body" >
-<h1>TActiveImage</h1>
+<h1 id="156019">TActiveImage</h1>
<com:DocLink ClassPath="System.Web.UI.ActiveControls.TActiveImage" />
<p class="block-content">
diff --git a/demos/quickstart/protected/pages/ActiveControls/ActiveImageButton.page b/demos/quickstart/protected/pages/ActiveControls/ActiveImageButton.page
index 44b988dd..3d0aae7f 100644
--- a/demos/quickstart/protected/pages/ActiveControls/ActiveImageButton.page
+++ b/demos/quickstart/protected/pages/ActiveControls/ActiveImageButton.page
@@ -1,6 +1,6 @@
<com:TContent ID="body" >
-<h1>TActiveImageButton</h1>
+<h1 id="158020">TActiveImageButton</h1>
<com:DocLink ClassPath="System.Web.UI.ActiveControls.TActiveImageButton" />
<p class="block-content">
diff --git a/demos/quickstart/protected/pages/ActiveControls/ActiveLabel.page b/demos/quickstart/protected/pages/ActiveControls/ActiveLabel.page
index 8db4cf34..e8c84f51 100644
--- a/demos/quickstart/protected/pages/ActiveControls/ActiveLabel.page
+++ b/demos/quickstart/protected/pages/ActiveControls/ActiveLabel.page
@@ -1,6 +1,6 @@
<com:TContent ID="body" >
-<h1>TActiveLabel</h1>
+<h1 id="160021">TActiveLabel</h1>
<com:DocLink ClassPath="System.Web.UI.ActiveControls.TActiveLabel" />
<p class="block-content">
diff --git a/demos/quickstart/protected/pages/ActiveControls/ActiveLinkButton.page b/demos/quickstart/protected/pages/ActiveControls/ActiveLinkButton.page
index 387b40af..dc542ae8 100644
--- a/demos/quickstart/protected/pages/ActiveControls/ActiveLinkButton.page
+++ b/demos/quickstart/protected/pages/ActiveControls/ActiveLinkButton.page
@@ -1,6 +1,6 @@
<com:TContent ID="body" >
-<h1>TActiveLinkButton</h1>
+<h1 id="162022">TActiveLinkButton</h1>
<com:DocLink ClassPath="System.Web.UI.ActiveControls.TActiveLinkButton" />
<p class="block-content">
diff --git a/demos/quickstart/protected/pages/ActiveControls/ActiveListBox.page b/demos/quickstart/protected/pages/ActiveControls/ActiveListBox.page
index 802c9fb1..ce45339f 100644
--- a/demos/quickstart/protected/pages/ActiveControls/ActiveListBox.page
+++ b/demos/quickstart/protected/pages/ActiveControls/ActiveListBox.page
@@ -1,6 +1,6 @@
<com:TContent ID="body" >
-<h1>TActiveListBox</h1>
+<h1 id="164023">TActiveListBox</h1>
<com:DocLink ClassPath="System.Web.UI.ActiveControls.TActiveListBox" />
<p class="block-content">
diff --git a/demos/quickstart/protected/pages/ActiveControls/ActiveMultiView.page b/demos/quickstart/protected/pages/ActiveControls/ActiveMultiView.page
index a9553646..54867a0c 100644
--- a/demos/quickstart/protected/pages/ActiveControls/ActiveMultiView.page
+++ b/demos/quickstart/protected/pages/ActiveControls/ActiveMultiView.page
@@ -1,6 +1,6 @@
<com:TContent ID="body" >
-<h1>TActiveMultiView</h1>
+<h1 id="166024">TActiveMultiView</h1>
<com:DocLink ClassPath="System.Web.UI.ActiveControls.TActiveMultiView" />
<p class="block-content">
diff --git a/demos/quickstart/protected/pages/ActiveControls/ActivePanel.page b/demos/quickstart/protected/pages/ActiveControls/ActivePanel.page
index dcfbc312..967b96c0 100644
--- a/demos/quickstart/protected/pages/ActiveControls/ActivePanel.page
+++ b/demos/quickstart/protected/pages/ActiveControls/ActivePanel.page
@@ -1,6 +1,6 @@
<com:TContent ID="body" >
-<h1>TActivePanel</h1>
+<h1 id="170025">TActivePanel</h1>
<com:DocLink ClassPath="System.Web.UI.ActiveControls.TActivePanel" />
<p class="block-content">
diff --git a/demos/quickstart/protected/pages/ActiveControls/ActiveRadioButton.page b/demos/quickstart/protected/pages/ActiveControls/ActiveRadioButton.page
index ac6cf5ae..95c2e570 100644
--- a/demos/quickstart/protected/pages/ActiveControls/ActiveRadioButton.page
+++ b/demos/quickstart/protected/pages/ActiveControls/ActiveRadioButton.page
@@ -1,6 +1,6 @@
<com:TContent ID="body" >
-<h1>TRadioButton</h1>
+<h1 id="172026">TRadioButton</h1>
<com:DocLink ClassPath="System.Web.UI.ActiveControls.TActiveRadioButton" />
<p class="block-content">
diff --git a/demos/quickstart/protected/pages/ActiveControls/ActiveRadioButtonList.page b/demos/quickstart/protected/pages/ActiveControls/ActiveRadioButtonList.page
index 6095a9d3..31f16535 100644
--- a/demos/quickstart/protected/pages/ActiveControls/ActiveRadioButtonList.page
+++ b/demos/quickstart/protected/pages/ActiveControls/ActiveRadioButtonList.page
@@ -1,6 +1,6 @@
<com:TContent ID="body" >
-<h1>TActiveRadioButtonList</h1>
+<h1 id="174027">TActiveRadioButtonList</h1>
<com:DocLink ClassPath="System.Web.UI.ActiveControls.TActiveRadioButtonList" />
<p class="block-content">
diff --git a/demos/quickstart/protected/pages/ActiveControls/ActiveRepeater.page b/demos/quickstart/protected/pages/ActiveControls/ActiveRepeater.page
index d22a7467..f41c2ece 100644
--- a/demos/quickstart/protected/pages/ActiveControls/ActiveRepeater.page
+++ b/demos/quickstart/protected/pages/ActiveControls/ActiveRepeater.page
@@ -1,6 +1,6 @@
<com:TContent ID="body" >
-<h1>TActiveRepeater</h1>
+<h1 id="176028">TActiveRepeater</h1>
<com:DocLink ClassPath="System.Web.UI.ActiveControls.TActiveRepeater" />
<p class="block-content">
diff --git a/demos/quickstart/protected/pages/ActiveControls/ActiveTextBox.page b/demos/quickstart/protected/pages/ActiveControls/ActiveTextBox.page
index 9a508e32..9665d11d 100644
--- a/demos/quickstart/protected/pages/ActiveControls/ActiveTextBox.page
+++ b/demos/quickstart/protected/pages/ActiveControls/ActiveTextBox.page
@@ -1,6 +1,6 @@
<com:TContent ID="body" >
-<h1>TActiveTextBox</h1>
+<h1 id="178029">TActiveTextBox</h1>
<com:DocLink ClassPath="System.Web.UI.ActiveControls.TActiveTextBox" />
<p class="block-content">
diff --git a/demos/quickstart/protected/pages/ActiveControls/AutoComplete.page b/demos/quickstart/protected/pages/ActiveControls/AutoComplete.page
index 14af4af7..f4de7390 100644
--- a/demos/quickstart/protected/pages/ActiveControls/AutoComplete.page
+++ b/demos/quickstart/protected/pages/ActiveControls/AutoComplete.page
@@ -1,10 +1,10 @@
<com:TContent ID="body">
<!-- $Id$ -->
-<h1>TAutoComplete</h1>
+<h1 id="180030">TAutoComplete</h1>
<com:DocLink ClassPath="System.Web.UI.ActiveControls.TAutoComplete" />
<p class="block-content">
-<tt>TAutoComplete</tt> is an extended <tt>ActiveTextBox</tt> that provides a list of suggestions on the current partial word typed in the textbox. The suggestions are requested using callbacks. The <tt>Frequency</tt> and <tt>MinChars</tt> properties sets the delay and minimum number of characters typed, respectively, before requesting for sugggestions. An embedded <tt>TRepeater</tt> is used to Display the list of suggestions. It can be accessed and styled through the <tt>Suggestions</tt> property and its sub-properties.<p>
+<tt>TAutoComplete</tt> is an extended <tt>ActiveTextBox</tt> that provides a list of suggestions on the current partial word typed in the textbox. The suggestions are requested using callbacks. The <tt>Frequency</tt> and <tt>MinChars</tt> properties sets the delay and minimum number of characters typed, respectively, before requesting for sugggestions. An embedded <tt>TRepeater</tt> is used to Display the list of suggestions. It can be accessed and styled through the <tt>Suggestions</tt> property and its sub-properties.<p id="900022" class="block-content">
<p class="block-content">
On each request for suggestions, the <tt>OnSuggestion</tt> event will be raised. The event handler receives the entered token that can be used to build the list of suggestions and to dataBind() it to the <tt>Suggestions</tt> repeater.</p>
diff --git a/demos/quickstart/protected/pages/ActiveControls/Callback.page b/demos/quickstart/protected/pages/ActiveControls/Callback.page
new file mode 100644
index 00000000..3e2b8527
--- /dev/null
+++ b/demos/quickstart/protected/pages/ActiveControls/Callback.page
@@ -0,0 +1,34 @@
+<com:TContent ID="body" >
+
+<h1 id="188005">TCallback</h1>
+<com:DocLink ClassPath="System.Web.UI.ActiveControls.TCallback" />
+
+<p class="block-content">
+<tt>TCallback</tt> provides a basic callback handler that can be invoked from the
+client side by using the javascript ojbect obtained from the
+<tt>ActiveControl.Javascript</tt> property.
+You can set the <tt>CallbackParameter</tt> property from javascript directly on
+the object returned by <tt>ActiveControl.Javascript</tt>.
+Once you are ready, you can call the <tt>dispatch()<tt> method on the object to
+execute the callback.
+The server-side event <tt>OnCallback</tt> is raised when a callback is requested made.
+</p>
+
+<p class="block-content">
+Example usage:
+</p>
+<com:TTextHighlighter Language="text" CssClass="source block-content" >
+&lt;com:TCallback ID="callback1" OnCallback="callback1_Requested" /&gt;
+&lt;script type="text/javascript"&gt;
+ function do_callback1()
+ {
+ var request = &lt;%= $this->callback1->ActiveControl->Javascript %&gt;;
+ request.dispatch();
+ }
+&lt;/script&gt;
+&lt;div onclick="do_callback1()">Click Me!&lt;/div&gt;
+</com:TTextHighlighter>
+
+<com:RunBar PagePath="ActiveControls.Samples.TCallback.Home" />
+
+<div class="last-modified">$Id$</div></com:TContent> \ No newline at end of file
diff --git a/demos/quickstart/protected/pages/ActiveControls/CallbackClientScript.page b/demos/quickstart/protected/pages/ActiveControls/CallbackClientScript.page
index 7ffd2db9..67361f4c 100644
--- a/demos/quickstart/protected/pages/ActiveControls/CallbackClientScript.page
+++ b/demos/quickstart/protected/pages/ActiveControls/CallbackClientScript.page
@@ -1,6 +1,6 @@
<com:TContent ID="body" >
-<h1>TCallbackClientScript</h1>
+<h1 id="182031">TCallbackClientScript</h1>
<com:DocLink ClassPath="System.Web.UI.ActiveControls.TCallbackClientScript" />
<p class="block-content">
diff --git a/demos/quickstart/protected/pages/ActiveControls/CallbackClientSide.page b/demos/quickstart/protected/pages/ActiveControls/CallbackClientSide.page
index c8e52585..8899a884 100644
--- a/demos/quickstart/protected/pages/ActiveControls/CallbackClientSide.page
+++ b/demos/quickstart/protected/pages/ActiveControls/CallbackClientSide.page
@@ -1,6 +1,6 @@
<com:TContent ID="body" >
-<h1>TCallbackClientSide</h1>
+<h1 id="184032">TCallbackClientSide</h1>
<com:DocLink ClassPath="System.Web.UI.ActiveControls.TCallbackClientSide" />
<p class="block-content">
@@ -25,7 +25,7 @@ The following example demonstrates the toggling of a "loading" indicator when th
&lt;/com:TActiveButton&gt;
</com:TTextHighlighter>
-<h3>Events</h3>
+<h3 id="184033">Events</h3>
<p class="block-content">
The following client side events are executing in order if the callback
@@ -58,7 +58,7 @@ response is returned. A successful request/response will raise
OnSuccess event otherwise OnFailure will be raised.
</p>
-<h3>Properties</h3>
+<h3 id="184034">Properties</h3>
<p class="block-content">
The following properties can be used to change the way the callback request is performed.
diff --git a/demos/quickstart/protected/pages/ActiveControls/CallbackEventParameter.page b/demos/quickstart/protected/pages/ActiveControls/CallbackEventParameter.page
new file mode 100644
index 00000000..f4248638
--- /dev/null
+++ b/demos/quickstart/protected/pages/ActiveControls/CallbackEventParameter.page
@@ -0,0 +1,26 @@
+<com:TContent ID="body" >
+
+<h1 id="194006">TCallbackEventParameter</h1>
+<com:DocLink ClassPath="System.Web.UI.ActiveControls.TCallbackEventParameter" />
+
+<p class="block-content">
+<tt>TCallbackEventParameter</tt> provides the parameter passed during the callback
+request in the <tt>CallbackParameter</tt> property. The
+callback response content (e.g. new HTML content) must be rendered
+using an THtmlWriter obtained from the <tt>NewWriter</tt>
+property, which returns a <b>NEW</b> instance of TCallbackResponseWriter.
+</p>
+
+<p class="block-content">
+Each instance <tt>TCallbackResponseWriter</tt> is associated with a unique
+boundary delimited. By default each panel only renders its own content.
+To replace the content of ONE panel with that of rendered from multiple panels
+use the same writer instance for the panels to be rendered.
+</p>
+
+<p class="block-content">
+The response data (i.e., passing results back to the client-side
+callback handler function) can be set using <tt>ResponseData</tt> property.
+</p>
+
+<div class="last-modified">$Id$</div></com:TContent> \ No newline at end of file
diff --git a/demos/quickstart/protected/pages/ActiveControls/DragDrop.page b/demos/quickstart/protected/pages/ActiveControls/DragDrop.page
index 0969ddd0..3bd6c03a 100755
--- a/demos/quickstart/protected/pages/ActiveControls/DragDrop.page
+++ b/demos/quickstart/protected/pages/ActiveControls/DragDrop.page
@@ -1,6 +1,6 @@
<com:TContent ID="body">
<!-- $Id$ -->
-<h1>TDropContainer</h1>
+<h1 id="188035">TDropContainer</h1>
<com:DocLink ClassPath="System.Web.UI.ActiveControls.TDropContainer" />
<p class="block-content"><tt>TDropContainer</tt> represent an area where
@@ -12,7 +12,7 @@ the <tt>OnDropk</tt> event.
</p>
-<h1>TDraggable</h1>
+<h1 id="188036">TDraggable</h1>
<com:DocLink ClassPath="System.Web.UI.ActiveControls.TDraggable" />
<p class="block-content"><tt>TDraggable</tt> will make its child controls 'draggable'.
diff --git a/demos/quickstart/protected/pages/ActiveControls/EventTriggeredCallback.page b/demos/quickstart/protected/pages/ActiveControls/EventTriggeredCallback.page
new file mode 100644
index 00000000..5240ddfe
--- /dev/null
+++ b/demos/quickstart/protected/pages/ActiveControls/EventTriggeredCallback.page
@@ -0,0 +1,15 @@
+<com:TContent ID="body" >
+
+<h1 id="200007">TEventTriggeredCallback</h1>
+<com:DocLink ClassPath="System.Web.UI.ActiveControls.TEventTriggeredCallback" />
+
+<p class="block-content">
+<tt>TEventTriggeredCallback</tt> triggers a new callback request when a particular <tt>EventName</tt>
+on a control with ID given by <tt>ControlID</tt> is raised.
+The default action of the event on the client-side can be prevented when
+<tt>PreventDefaultAction</tt> is set to true.
+</p>
+
+<com:RunBar PagePath="ActiveControls.Samples.TEventTriggeredCallback.Home" />
+
+<div class="last-modified">$Id$</div></com:TContent> \ No newline at end of file
diff --git a/demos/quickstart/protected/pages/ActiveControls/Home.page b/demos/quickstart/protected/pages/ActiveControls/Home.page
index 7834cc1d..4eddd2f2 100644
--- a/demos/quickstart/protected/pages/ActiveControls/Home.page
+++ b/demos/quickstart/protected/pages/ActiveControls/Home.page
@@ -17,8 +17,6 @@ of <a href="?page=ActiveControl.ClientSideJavascript">javascript classes</a>.
TActiveButton</a> control. See also the later part of the <a href="?page=Tutorial.CurrencyConverter">Currency Converter</a> tutorial for a more in depth example.
</p>
-<p id="640425" class="block-content">* the tutorial for this control is not completed yet.</p>
-
<h2 id="128032">Standard Active Controls</h2>
<ul id="u1" class="block-content">
<li>
@@ -38,6 +36,22 @@ TActiveButton</a> control. See also the later part of the <a href="?page=Tutoria
</li>
<li>
+ <a href="?page=ActiveControls.ActiveDatePicker">TActiveDatePicker</a>
+ adds a date picker that permits the suer to choose a date.
+ </li>
+
+ <li>
+ <a href="?page=ActiveControls.ActiveFileUpload">TActiveFileUpload</a>
+ displays a file upload field on a page and uses an iframe to permit handling of the
+ file upload in a callback.
+ </li>
+
+ <li>
+ <a href="?page=ActiveControls.ActiveHiddenField">TActiveHiddenField</a>
+ displays a hidden input field that can be changed upon callback.
+ </li>
+
+ <li>
<a href="?page=ActiveControls.ActiveHyperLink">TActiveHyperLink</a>
represents a hyperlink on a Web page.
</li>
@@ -91,6 +105,11 @@ TActiveButton</a> control. See also the later part of the <a href="?page=Tutoria
</li>
<li>
+ <a href="">TActiveRatingList</a>
+ is an EXPERIMENTAL class that displays clickable images that represent a TRadioButtonList.
+ </li>
+
+ <li>
<a href="?page=ActiveControls.ActiveTextBox">TActiveTextBox</a>
represents a text input field on a Web page.
It can collect single-line, multi-line or password text input from users.
@@ -159,35 +178,35 @@ TActiveButton</a> control. See also the later part of the <a href="?page=Tutoria
</li>
<li>
- * <a href="?page=ActiveControls.Callback">TCallback</a>
+ <a href="?page=ActiveControls.Callback">TCallback</a>
a generic control that can perform callback requests.
</li>
<li>
- * <a href="?page=ActiveControls.EventTriggeredCallback">TEventTriggeredCallback</a>
+ <a href="?page=ActiveControls.EventTriggeredCallback">TEventTriggeredCallback</a>
triggers a callback request based on HTML DOM events.
</li>
<li>
- * <a href="?page=ActiveControls.InPlaceTextBox">TInPlaceTextBox</a>
+ <a href="?page=ActiveControls.InPlaceTextBox">TInPlaceTextBox</a>
represents a label that can be edited by clicked.
</li>
<li>
- * <a href="?page=ActiveControls.TimeTriggeredCallback">TTimeTriggeredCallback</a>
+ <a href="?page=ActiveControls.TimeTriggeredCallback">TTimeTriggeredCallback</a>
triggers a callback request based on time elapsed.
</li>
<li>
- * <a href="?page=ActiveControls.ValueTriggeredCallback">TValueTriggeredCallback</a>
+ <a href="?page=ActiveControls.ValueTriggeredCallback">TValueTriggeredCallback</a>
monitors (using a timer) an attribute of an HTML element and triggers a callback request
when the attribute value changes.
</li>
<li>
- <a href="?page=ActiveControls.DragDrop">TDropContainer & TDraggable</a> represents drag and drop containers.
- The former will make its child controls "draggable" while the latter will raise a callback when a draggable
- control is dropped on it.
+ <a href="?page=ActiveControls.DragDrop">TDropContainer &amp; TDraggable</a> represents drag and drop containers.
+ The former will make its child controls "draggable" while the latter will raise a callback when a draggable
+ control is dropped on it.
</li>
</ul>
@@ -355,33 +374,73 @@ if Javascript was disabled on the client's browser.</p>
</table>
-<h2 id="128036">Active Control Infrastructure Classes</h2>
+<h2 id="128036">Active Control Basic Infrastructure Classes</h2>
<p id="640427" class="block-content">The following classes provide the basic infrastructure classes required to
-realize the active controls.</p>
+realize the active controls. They can be useful to develop new active controls, but Prado users tipically don't need
+to use them.</p>
<ul id="u4" class="block-content">
<li>
- * <a href="?page=ActiveControls.ActiveControlAdapter">TActiveControlAdapter</a>
- tracks the viewstate values of the control and update differences of the client-side HTML
- element attributes.
+ <h3 id="190038">TActiveControlAdapter</h3>
+ <com:DocLink ClassPath="System.Web.UI.ActiveControls.TActiveControlAdapter" />
+ <p class="block-content">
+ <tt>TActiveControlAdapter</tt> customizes the parent TControl class for active control classes.
+ It tracks changes in the viewstate values of the control and update
+ differences of the client-side HTML element attributes.
+ </p>
</li>
<li>
- * <a href="?page=ActiveControls.ActiveListControlAdapter">TActiveListControlAdapter</a>
- allows the adapted list controls to change the selections on the client-side during
- a callback request.
+ <h3 id="190039">TActiveListControlAdapter</h3>
+ <com:DocLink ClassPath="System.Web.UI.ActiveControls.TActiveListControlAdapter" />
+ <p class="block-content">
+ <tt>TActiveListControlAdapter</tt> allows the adapted list controls to change the selections
+ on the client-side during a callback request.
+ </p>
</li>
<li>
- * <a href="?page=ActiveControls.ActivePageAdapter">TActivePageAdapter</a>
- process the page life-cycle for callback requests.
+ <h3 id="190040">TActivePageAdapter</h3>
+ <com:DocLink ClassPath="System.Web.UI.ActiveControls.TActivePageAdapter" />
+ <p class="block-content">
+ <tt>TActivePageAdapter</tt> process the page life-cycle for callback requests.
+ </p>
</li>
<li>
- * <a href="?page=ActiveControls.BaseActiveControl">TBaseActiveControl</a>
- common active control methods and options.
+ <h3 id="190041">TBaseActiveControl</h3>
+ <com:DocLink ClassPath="System.Web.UI.ActiveControls.TBaseActiveControl" />
+ <p class="block-content">
+ <tt>TBaseActiveControl</tt> class provided additional basic properties common for every
+ active control. An instance of <tt>TBaseActiveControl</tt> or its decendent
+ <tt>TBaseActiveCallbackControl</tt> is created by <tt>TActiveControlAdapter::getBaseActiveControl()</tt>
+ method.
+ The <tt>EnableUpdate</tt> property determines wether the active
+ control is allowed to update the contents of the client-side when the callback
+ response returns.
+ </p>
</li>
<li>
+ <h3 id="190042">TCallbackResponseAdapter</h3>
+ <com:DocLink ClassPath="System.Web.UI.ActiveControls.TCallbackResponseAdapter" />
+ <p class="block-content">
+ <tt>TCallbackResponseAdapter</tt> alters the <tt>THttpResponse</tt>'s outputs.
+ A <tt>TCallbackResponseWriter</tt> is used instead of the <tt>TTextWrite</tt> when
+ <tt>createHtmlWriter</tt> is called. Each call to createHtmlWriter will create
+ a new <tt>TCallbackResponseWriter</tt>. When <tt>flushContent()</tt> is called each
+ instance of <tt>TCallbackResponseWriter</tt>'s content is flushed.
+ The callback response data can be set using the <tt>ResponseData</tt> property.
+ </p>
+ </li>
+
+</ul>
+
+<h2 id="190037">Active Control Infrastructure Advanced Classes</h2>
+<p class="block-content">The following classes provide advanced properties and events needed to realize the active controls.
+A Prado user can use them to customize active controls behaviour and interact directly with the client side during a callback.
+</p>
+<ul class="block-content">
+ <li>
<a href="?page=ActiveControls.CallbackClientScript">TCallbackClientScript</a>
methods to manipulate the client-side HTML elements, also includes methods
to invoke javascript Effects on HTML elements.
@@ -393,15 +452,14 @@ realize the active controls.</p>
</li>
<li>
- <a href="?page=ActiveControls.CallbackOptions">TCallbackOptions</a>
- allows a common set of callback client-side options to be attached to one or more active controls.
+ <a href="?page=ActiveControls.CallbackEventParameter">TCallbackEventParameter</a>
+ provides the parameter passed during the callback request.
</li>
<li>
- * <a href="?page=ActiveControls.CallbackResponseAdapter">TCallbackResponseAdapter</a>
- HTTP response for callback requests.
+ <a href="?page=ActiveControls.CallbackOptions">TCallbackOptions</a>
+ allows a common set of callback client-side options to be attached to one or more active controls.
</li>
-
</ul>
<div class="last-modified">$Id$</div></com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/InPlaceTextBox.page b/demos/quickstart/protected/pages/ActiveControls/InPlaceTextBox.page
new file mode 100644
index 00000000..c1d31d41
--- /dev/null
+++ b/demos/quickstart/protected/pages/ActiveControls/InPlaceTextBox.page
@@ -0,0 +1,42 @@
+<com:TContent ID="body" >
+
+<h1 id="202008">TInPlaceTextBox</h1>
+<com:DocLink ClassPath="System.Web.UI.ActiveControls.TInPlaceTextBox" />
+
+<p class="block-content">
+<tt>TInPlaceTextBox</tt> is a component rendered as a label and allows its
+contents to be edited by changing the label to a textbox when
+the label is clicked or when another control or html element with
+ID given by <tt>EditTriggerControlID</tt> is clicked.
+</p>
+
+<p class="block-content">
+If the <tt>OnLoadingText</tt> event is handled, a callback request is
+made when the label is clicked, while the request is being made the
+textbox is disabled from editing. The <tt>OnLoadingText</tt> event allows
+you to update the content of the textbox before the client is allowed
+to edit the content. After the callback request returns successfully,
+the textbox is enabled and the contents is then allowed to be edited.
+</p>
+
+<p class="block-content">
+Once the textbox loses focus, if <tt>AutoPostBack</tt>
+is true and the textbox content has changed, a callback request is made and
+the <tt>OnTextChanged</tt> event is raised like that of the TActiveTextBox.
+During the request, the textbox is disabled.
+</p>
+
+<p class="block-content">
+After the callback request returns sucessfully, the textbox is enabled.
+If the <tt>AutoHideTextBox</tt> property is true, then
+the textbox will be hidden and the label is then shown.
+</p>
+
+<p class="block-content">
+Since 3.1.2, you can set the <tt>ReadOnly</tt> property to make
+the control not editable. This property can be also changed on callback
+</p>
+
+<com:RunBar PagePath="ActiveControls.Samples.TInPlaceTextBox.Home" />
+
+<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.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
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveFileUpload/Home.page b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveFileUpload/Home.page
new file mode 100644
index 00000000..ac82e02e
--- /dev/null
+++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveFileUpload/Home.page
@@ -0,0 +1,15 @@
+<com:TContent ID="body">
+
+<h1>TActiveFileUpload Sample</h1>
+
+<p>
+Please choose a file to upload:
+</p>
+
+<com:TActiveFileUpload OnFileUpload="fileUploaded" />
+
+<br/>
+
+<com:TActiveLabel ID="Result" />
+
+<div class="last-modified">$Id$</div></com:TContent> \ No newline at end of file
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveFileUpload/Home.php b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveFileUpload/Home.php
new file mode 100644
index 00000000..d5cf990a
--- /dev/null
+++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveFileUpload/Home.php
@@ -0,0 +1,21 @@
+<?php
+
+class Home extends TPage
+{
+ public function fileUploaded($sender,$param)
+ {
+ if($sender->HasFile)
+ {
+ $this->Result->Text="
+ You just uploaded a file:
+ <br/>
+ Name: {$sender->FileName}
+ <br/>
+ Size: {$sender->FileSize}
+ <br/>
+ Type: {$sender->FileType}";
+ }
+ }
+}
+
+?> \ No newline at end of file
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TCallback/Home.page b/demos/quickstart/protected/pages/ActiveControls/Samples/TCallback/Home.page
new file mode 100644
index 00000000..55ced11e
--- /dev/null
+++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TCallback/Home.page
@@ -0,0 +1,57 @@
+<com:TContent ID="body">
+
+<h1>TCallback Samples</h1>
+
+<table class="sampletable">
+
+<tr><td class="samplenote">
+An active label text being set as the result of a callback:
+</td><td class="sampleaction">
+
+<com:TCallback ID="callback1" OnCallback="callback1_Requested" />
+<script type="text/javascript">
+ function do_callback1()
+ {
+ var request = <%= $this->callback1->ActiveControl->Javascript %>;
+ request.dispatch();
+ }
+</script>
+<div onclick="do_callback1()" style="background-color:red;border: 1px solid black">Click Me!</div>
+<br/><com:TActiveLabel Text="This is a label" ID="label1"
+/>
+
+<br/><com:TActiveButton
+ Text="reset example"
+ OnClick="buttonClicked"
+/>
+</td></tr>
+
+<tr><td class="samplenote">
+A TCallback with a 3-items array as parameter.
+The first parameter is defined in the onclick() attribute of the red div;
+The second parameter is defined in the body of the javascript function;
+The third parameter is taken from the textbox;
+</td><td class="sampleaction">
+
+<com:TCallback ID="callback2" OnCallback="callback2_Requested" />
+<script type="text/javascript">
+ function do_callback2(param1)
+ {
+ var request = <%= $this->callback2->ActiveControl->Javascript %>;
+ var param2 = 'value 2';
+ var param3 = $('<%= $this->txt1->ClientID %>').value;
+ request.setCallbackParameter({'Param1':param1, 'Param2':param2, 'Param3':param3});
+ request.dispatch();
+ }
+</script>
+TextBox for third parameter: <com:TTextBox ID="txt1" text="value 3"/>
+<div onclick="do_callback2('value 1')" style="background-color:red;border: 1px solid black">Click Me!</div>
+<br/>Parameter 1 is <com:TActiveLabel Text="" ID="labelParam1" />
+<br/>Parameter 2 is <com:TActiveLabel Text="" ID="labelParam2" />
+<br/>Parameter 3 is <com:TActiveLabel Text="" ID="labelParam3" />
+</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/TCallback/Home.php b/demos/quickstart/protected/pages/ActiveControls/Samples/TCallback/Home.php
new file mode 100644
index 00000000..e7f39967
--- /dev/null
+++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TCallback/Home.php
@@ -0,0 +1,24 @@
+<?php
+
+class Home extends TPage
+{
+ public function callback1_Requested($sender,$param)
+ {
+ $this->label1->Text="You clicked the div, didn't you?";
+ }
+
+ public function buttonClicked($sender,$param)
+ {
+ $this->label1->Text="This is a label";
+ }
+
+ public function callback2_Requested($sender,$param)
+ {
+ $parameters=$param->CallbackParameter;
+ $this->labelParam1->Text = THttpUtility::htmlEncode($parameters->Param1);
+ $this->labelParam2->Text = THttpUtility::htmlEncode($parameters->Param2);
+ $this->labelParam3->Text = THttpUtility::htmlEncode($parameters->Param3);
+ }
+}
+
+?> \ No newline at end of file
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TEventTriggeredCallback/Home.page b/demos/quickstart/protected/pages/ActiveControls/Samples/TEventTriggeredCallback/Home.page
new file mode 100644
index 00000000..e5293f87
--- /dev/null
+++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TEventTriggeredCallback/Home.page
@@ -0,0 +1,18 @@
+<com:TContent ID="body">
+
+<h1>TEventTriggeredCallback Samples</h1>
+
+<table class="sampletable">
+
+<tr><td class="samplenote">
+ A callback will be executed when the textbox receives and loses focus
+</td><td class="sampleaction">
+ <com:TTextBox ID="txt1" />
+ <com:TEventTriggeredCallback ControlID="txt1" EventName="focus" OnCallback="txtFocused" />
+ <com:TEventTriggeredCallback ControlID="txt1" EventName="blur" OnCallback="txtBlurred" />
+ <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/TEventTriggeredCallback/Home.php b/demos/quickstart/protected/pages/ActiveControls/Samples/TEventTriggeredCallback/Home.php
new file mode 100644
index 00000000..8d92e4a3
--- /dev/null
+++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TEventTriggeredCallback/Home.php
@@ -0,0 +1,16 @@
+<?php
+
+class Home extends TPage
+{
+ public function txtFocused($sender,$param)
+ {
+ $this->label1->Text="Textbox focused";
+ }
+
+ public function txtBlurred($sender,$param)
+ {
+ $this->label1->Text="Textbox lost focus";
+ }
+}
+
+?> \ No newline at end of file
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
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TTimeTriggeredCallback/Home.page b/demos/quickstart/protected/pages/ActiveControls/Samples/TTimeTriggeredCallback/Home.page
new file mode 100644
index 00000000..822be2b4
--- /dev/null
+++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TTimeTriggeredCallback/Home.page
@@ -0,0 +1,24 @@
+<com:TContent ID="body">
+
+<h1>TTimeTriggeredCallback Samples</h1>
+
+<table class="sampletable">
+
+<tr><td class="samplenote">
+A timer updating a label with the current time every 5 seconds:
+</td><td class="sampleaction">
+<com:TTimeTriggeredCallback ID="time1" Interval="5" OnCallback="timercallback" />
+<com:TActiveButton
+ Text="start timer"
+ OnClick="startClicked"
+/>
+<com:TActiveButton
+ Text="stop timer"
+ OnClick="stopClicked"
+/>
+<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/TTimeTriggeredCallback/Home.php b/demos/quickstart/protected/pages/ActiveControls/Samples/TTimeTriggeredCallback/Home.php
new file mode 100644
index 00000000..6c44c8c1
--- /dev/null
+++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TTimeTriggeredCallback/Home.php
@@ -0,0 +1,22 @@
+<?php
+
+class Home extends TPage
+{
+ public function startClicked($sender,$param)
+ {
+ $this->time1->startTimer();
+ }
+
+ public function stopClicked($sender,$param)
+ {
+ $this->time1->stopTimer();
+ }
+
+ public function timerCallback($sender,$param)
+ {
+ $this->label1->Text="Current time is ".date('H:i:s');
+ }
+
+}
+
+?> \ No newline at end of file
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TValueTriggeredCallback/Home.page b/demos/quickstart/protected/pages/ActiveControls/Samples/TValueTriggeredCallback/Home.page
new file mode 100644
index 00000000..50edf6ed
--- /dev/null
+++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TValueTriggeredCallback/Home.page
@@ -0,0 +1,17 @@
+<com:TContent ID="body">
+
+<h1>TValueTriggeredCallback Samples</h1>
+
+<table class="sampletable">
+
+<tr><td class="samplenote">
+ A callback will be executed when the textbox text changes
+</td><td class="sampleaction">
+ <com:TTextBox ID="txt1" />
+ <com:TValueTriggeredCallback ControlID="txt1" PropertyName="value" OnCallback="checkTxtValue" />
+ <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/TValueTriggeredCallback/Home.php b/demos/quickstart/protected/pages/ActiveControls/Samples/TValueTriggeredCallback/Home.php
new file mode 100644
index 00000000..7e2a8b20
--- /dev/null
+++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TValueTriggeredCallback/Home.php
@@ -0,0 +1,11 @@
+<?php
+
+class Home extends TPage
+{
+ public function checkTxtValue($sender,$param)
+ {
+ $this->label1->Text=date("[H:i:s]")." Textbox changed";
+ }
+}
+
+?> \ No newline at end of file
diff --git a/demos/quickstart/protected/pages/ActiveControls/TimeTriggeredCallback.page b/demos/quickstart/protected/pages/ActiveControls/TimeTriggeredCallback.page
new file mode 100644
index 00000000..d36ec2d9
--- /dev/null
+++ b/demos/quickstart/protected/pages/ActiveControls/TimeTriggeredCallback.page
@@ -0,0 +1,16 @@
+<com:TContent ID="body" >
+
+<h1 id="204009">TTimeTriggeredCallback</h1>
+<com:DocLink ClassPath="System.Web.UI.ActiveControls.TTimeTriggeredCallback" />
+
+<p class="block-content">
+<tt>TTimeTriggeredCallback</tt> sends callback request every <tt>Interval</tt> seconds.
+Upon each callback request, the <tt>OnCallback</tt> event is raised.
+The timer can be started by calling <tt>startTimer()</tt> and stopped using
+<tt>stopTimer()</tt>. The timer can be automatically started when
+<tt>StartTimerOnLoad</tt> is true.
+</p>
+
+<com:RunBar PagePath="ActiveControls.Samples.TTimeTriggeredCallback.Home" />
+
+<div class="last-modified">$Id$</div></com:TContent> \ No newline at end of file
diff --git a/demos/quickstart/protected/pages/ActiveControls/ValueTriggeredCallback.page b/demos/quickstart/protected/pages/ActiveControls/ValueTriggeredCallback.page
new file mode 100644
index 00000000..bdf8b459
--- /dev/null
+++ b/demos/quickstart/protected/pages/ActiveControls/ValueTriggeredCallback.page
@@ -0,0 +1,18 @@
+<com:TContent ID="body" >
+
+<h1 id="206010">TValueTriggeredCallback</h1>
+<com:DocLink ClassPath="System.Web.UI.ActiveControls.TValueTriggeredCallback" />
+
+<p class="block-content">
+<tt>TValueTriggeredCallback</tt> observes the value with <tt>PropertyName</tt> of a
+control with <tt>ControlID</tt>. Changes to the observed
+property value will trigger a new callback request. The property value is checked
+for changes every <tt>Interval</tt> seconds.
+A <tt>DecayRate</tt> can be set to increase the polling
+interval linearly if no changes are observed. Once a change is
+observed, the polling interval is reset to the original value.
+</p>
+
+<com:RunBar PagePath="ActiveControls.Samples.TValueTriggeredCallback.Home" />
+
+<div class="last-modified">$Id$</div></com:TContent> \ No newline at end of file