summaryrefslogtreecommitdiff
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
parent6394a6ffe3a9f3e4e698603b94503dc96f1e2652 (diff)
upported to trunk/ last doc changes, everything should be fine now
-rw-r--r--.gitattributes23
-rw-r--r--buildscripts/texbuilder/quickstart/pages.php11
-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
-rw-r--r--demos/quickstart/protected/pages/Controls/Captcha.page18
-rw-r--r--demos/quickstart/protected/pages/Controls/ClientScriptLoader.page12
-rw-r--r--demos/quickstart/protected/pages/Controls/Conditional.page6
-rw-r--r--demos/quickstart/protected/pages/Controls/Keyboard.page12
-rw-r--r--demos/quickstart/protected/pages/Controls/List.page12
-rw-r--r--demos/quickstart/protected/pages/Controls/Slider.page12
-rw-r--r--demos/quickstart/protected/pages/Controls/Standard.page4
-rw-r--r--demos/quickstart/protected/pages/Controls/Validation.page16
-rw-r--r--framework/Web/UI/ActiveControls/TCallback.php4
-rw-r--r--framework/Web/UI/ActiveControls/TValueTriggeredCallback.php2
56 files changed, 703 insertions, 92 deletions
diff --git a/.gitattributes b/.gitattributes
index bad4024e..286fdb30 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1292,7 +1292,10 @@ demos/quickstart/protected/pages/ActiveControls/ActiveCheckBoxList.page -text
demos/quickstart/protected/pages/ActiveControls/ActiveCustomValidator.page -text
demos/quickstart/protected/pages/ActiveControls/ActiveDataGrid.page -text
demos/quickstart/protected/pages/ActiveControls/ActiveDataList.page -text
+demos/quickstart/protected/pages/ActiveControls/ActiveDatePicker.page -text
demos/quickstart/protected/pages/ActiveControls/ActiveDropDownList.page -text
+demos/quickstart/protected/pages/ActiveControls/ActiveFileUpload.page -text
+demos/quickstart/protected/pages/ActiveControls/ActiveHiddenField.page -text
demos/quickstart/protected/pages/ActiveControls/ActiveHyperLink.page -text
demos/quickstart/protected/pages/ActiveControls/ActiveImage.page -text
demos/quickstart/protected/pages/ActiveControls/ActiveImageButton.page -text
@@ -1307,11 +1310,15 @@ demos/quickstart/protected/pages/ActiveControls/ActiveRadioButtonList.page -text
demos/quickstart/protected/pages/ActiveControls/ActiveRepeater.page -text
demos/quickstart/protected/pages/ActiveControls/ActiveTextBox.page -text
demos/quickstart/protected/pages/ActiveControls/AutoComplete.page -text
+demos/quickstart/protected/pages/ActiveControls/Callback.page -text
demos/quickstart/protected/pages/ActiveControls/CallbackClientScript.page -text
demos/quickstart/protected/pages/ActiveControls/CallbackClientSide.page -text
+demos/quickstart/protected/pages/ActiveControls/CallbackEventParameter.page -text
demos/quickstart/protected/pages/ActiveControls/CallbackOptions.page -text
demos/quickstart/protected/pages/ActiveControls/DragDrop.page -text
+demos/quickstart/protected/pages/ActiveControls/EventTriggeredCallback.page -text
demos/quickstart/protected/pages/ActiveControls/Home.page -text
+demos/quickstart/protected/pages/ActiveControls/InPlaceTextBox.page -text
demos/quickstart/protected/pages/ActiveControls/Introduction.page -text
demos/quickstart/protected/pages/ActiveControls/Samples/DragDrop/Home.page -text
demos/quickstart/protected/pages/ActiveControls/Samples/DragDrop/images/product1.png -text svneol=unset#image/png
@@ -1337,8 +1344,12 @@ demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDataGrid/Sample5.
demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDataGrid/Sample5.php -text
demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDataList/Home.page -text
demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDataList/Home.php -text
+demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDatePicker/Home.page -text
+demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDatePicker/Home.php -text
demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDropDownList/Home.page -text
demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDropDownList/Home.php -text
+demos/quickstart/protected/pages/ActiveControls/Samples/TActiveFileUpload/Home.page -text
+demos/quickstart/protected/pages/ActiveControls/Samples/TActiveFileUpload/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
@@ -1373,15 +1384,27 @@ demos/quickstart/protected/pages/ActiveControls/Samples/TActiveTextBox/Home.page
demos/quickstart/protected/pages/ActiveControls/Samples/TActiveTextBox/Home.php -text
demos/quickstart/protected/pages/ActiveControls/Samples/TAutoComplete/Home.page -text
demos/quickstart/protected/pages/ActiveControls/Samples/TAutoComplete/Home.php -text
+demos/quickstart/protected/pages/ActiveControls/Samples/TCallback/Home.page -text
+demos/quickstart/protected/pages/ActiveControls/Samples/TCallback/Home.php -text
demos/quickstart/protected/pages/ActiveControls/Samples/TCallbackClientScript/Home.page -text
demos/quickstart/protected/pages/ActiveControls/Samples/TCallbackClientScript/Home.php -text
demos/quickstart/protected/pages/ActiveControls/Samples/TCallbackClientSide/Home.page -text
demos/quickstart/protected/pages/ActiveControls/Samples/TCallbackClientSide/Home.php -text
demos/quickstart/protected/pages/ActiveControls/Samples/TCallbackOptions/Home.page -text
demos/quickstart/protected/pages/ActiveControls/Samples/TCallbackOptions/Home.php -text
+demos/quickstart/protected/pages/ActiveControls/Samples/TEventTriggeredCallback/Home.page -text
+demos/quickstart/protected/pages/ActiveControls/Samples/TEventTriggeredCallback/Home.php -text
+demos/quickstart/protected/pages/ActiveControls/Samples/TInPlaceTextBox/Home.page -text
+demos/quickstart/protected/pages/ActiveControls/Samples/TInPlaceTextBox/Home.php -text
+demos/quickstart/protected/pages/ActiveControls/Samples/TTimeTriggeredCallback/Home.page -text
+demos/quickstart/protected/pages/ActiveControls/Samples/TTimeTriggeredCallback/Home.php -text
+demos/quickstart/protected/pages/ActiveControls/Samples/TValueTriggeredCallback/Home.page -text
+demos/quickstart/protected/pages/ActiveControls/Samples/TValueTriggeredCallback/Home.php -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
+demos/quickstart/protected/pages/ActiveControls/TimeTriggeredCallback.page -text
+demos/quickstart/protected/pages/ActiveControls/ValueTriggeredCallback.page -text
demos/quickstart/protected/pages/ActiveControls/id/ActiveButton.page -text
demos/quickstart/protected/pages/ActiveControls/id/ActiveCheckBox.page -text
demos/quickstart/protected/pages/ActiveControls/id/ActiveCustomValidator.page -text
diff --git a/buildscripts/texbuilder/quickstart/pages.php b/buildscripts/texbuilder/quickstart/pages.php
index 28953831..a99a2a35 100644
--- a/buildscripts/texbuilder/quickstart/pages.php
+++ b/buildscripts/texbuilder/quickstart/pages.php
@@ -109,7 +109,10 @@ $pages['Control Reference : Active Controls (AJAX)'] = array(
'ActiveControls/ActiveCustomValidator.page',
'ActiveControls/ActiveDataList.page',
'ActiveControls/ActiveDataGrid.page',
+ 'ActiveControls/ActiveDatePicker.page',
'ActiveControls/ActiveDropDownList.page',
+ 'ActiveControls/ActiveFileUpload.page',
+ 'ActiveControls/ActiveHiddenField.page',
'ActiveControls/ActiveHyperLink.page',
'ActiveControls/ActiveImage.page',
'ActiveControls/ActiveImageButton.page',
@@ -124,10 +127,16 @@ $pages['Control Reference : Active Controls (AJAX)'] = array(
'ActiveControls/ActiveRepeater.page',
'ActiveControls/ActiveTextBox.page',
'ActiveControls/AutoComplete.page',
+ 'ActiveControls/Callback.page',
'ActiveControls/CallbackClientScript.page',
'ActiveControls/CallbackClientSide.page',
+ 'ActiveControls/CallbackEventParameter.page',
'ActiveControls/CallbackOptions.page',
- 'ActiveControls/DragDrop.page');
+ 'ActiveControls/DragDrop.page',
+ 'ActiveControls/EventTriggeredCallback.page',
+ 'ActiveControls/InPlaceTextBox.page',
+ 'ActiveControls/TimeTriggeredCallback.page',
+ 'ActiveControls/ValueTriggeredCallback.page');
$pages['Active Control Overview'] = array(
'ActiveControls/Home.page',
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
diff --git a/demos/quickstart/protected/pages/Controls/Captcha.page b/demos/quickstart/protected/pages/Controls/Captcha.page
index 8a6e8a81..fd1accb2 100644
--- a/demos/quickstart/protected/pages/Controls/Captcha.page
+++ b/demos/quickstart/protected/pages/Controls/Captcha.page
@@ -1,36 +1,36 @@
<com:TContent ID="body" >
-<h1>TCaptcha</h1>
+<h1 id="56002">TCaptcha</h1>
<com:DocLink ClassPath="System.Web.UI.WebControls.TCaptcha" />
-<p>
+<p id="280002" class="block-content">
<tt>TCaptcha</tt> displays a <a href="http://en.wikipedia.org/wiki/Captcha">CAPTCHA</a> that can be used to determine if the input is entered by a real user instead of some program. <tt>TCaptcha</tt> displays a token (a string consisting of alphanumeric characters) as an image and the user is expected to repeat the token in a text box. The token image is generated in a way such that it can be recognized by a human being, but not a program.
</p>
-<p>
+<p id="280003" class="block-content">
To use <tt>TCaptcha</tt>, you must enable the PHP GD2 extension with TrueType font support. Unlike other CAPTCHA scripts, <tt>TCaptcha</tt> does not need session or cookie.
</p>
-<p>
+<p id="280004" class="block-content">
The token generated by <tt>TCaptcha</tt> can be configured in several ways. To specify the length of characters in the token, set <tt>MinTokenLength</tt> and <tt>MaxTokenLength</tt>. To use case-insensitive token comparison and generate upper-case-only token, set <tt>CaseSensitive</tt> to false. More advanced users can try to set <tt>TokenAlphabet</tt> to specify which characters may appear in the generated tokens.
</p>
-<p>
+<p id="280005" class="block-content">
The validation of the token is related with two properties: <tt>TestLimit</tt> (defaults to 5 times) and <tt>TokenExpiry</tt> (defaults to 600 seconds). The former specifies how many times a token can be tested with on the server side, and the latter says when a generated token will expire. If the validation fails in any of the two scenarios, a new token will be automatically generated.
</p>
-<p>
+<p id="280006" class="block-content">
To specify the appearance of the generated token image, set <tt>TokenImageTheme</tt> to be an integer between 0 and 63. You may try the following example to see how this value affects the generated token image. The size of the generated token image is determined by <tt>TokenFontSize</tt>. In particular, the image width is proportional to the font size. You may also set <tt>Width</tt> to scale the generated image to your desired size, but the scaled image may not look good. By setting <tt>ChangingTokenBackground</tt> to true, the image background of the token will be variating even though the token is the same during postbacks.
</p>
-<p>
+<p id="280007" class="block-content">
Upon postback, user input can be validated by calling the method <tt>TCaptcha.validate()</tt>. More easily, you can use a <tt>TCaptchaValidator</tt> to automate the validation work for you. The <tt>TCaptchaValidator</tt> has the additional benefit of being able to validate the user input on the client-side. By default, a generated token will remain unchanged during postbacks. A new token can be generated by calling <tt>TCaptcha.regenerateToken()</tt> manually.
</p>
-<p>
+<p id="280008" class="block-content">
The following template shows a typical use of the <tt>TCaptcha</tt> control:
</p>
-<com:TTextHighlighter Language="prado" CssClass="source">
+<com:TTextHighlighter Language="prado" CssClass="source block-content" id="code_280105">
&lt;com:TCaptcha ID="Captcha" />
&lt;com:TTextBox ID="Input" />
&lt;com:TCaptchaValidator CaptchaControl="Captcha"
diff --git a/demos/quickstart/protected/pages/Controls/ClientScriptLoader.page b/demos/quickstart/protected/pages/Controls/ClientScriptLoader.page
index 590aa2d8..20fcb30b 100644
--- a/demos/quickstart/protected/pages/Controls/ClientScriptLoader.page
+++ b/demos/quickstart/protected/pages/Controls/ClientScriptLoader.page
@@ -1,6 +1,6 @@
<com:TContent ID="body" >
-<h1>TClientScriptLoader</h1>
+<h1 id="62003">TClientScriptLoader</h1>
<com:DocLink ClassPath="System.Web.UI.WebControls.TClientScriptLoader" />
@@ -44,7 +44,7 @@ When the files in the <tt>PackagePath</tt> are published as assets, a script loa
to that asset directory.
The script loader, combines multiple javascript files and serve up as gzip if possible.
</p>
-<h2>Grouping Javascript Files</h2>
+<h2 id="62004">Grouping Javascript Files</h2>
<p class="block-content">
Allowable scripts and script dependencies can be grouped by using a "<tt>packages.php</tt>" file
with the following format. This "<tt>packages.php</tt>" is optional, if absent the file names
@@ -81,7 +81,7 @@ on both '<tt>package1</tt>' and '<tt>package2</tt>' groupings. That is, '<tt>pac
will combine, in order, '<tt>file1.js</tt>', '<tt>file2.js</tt>', '<tt>file3.js</tt>', and '<tt>file4.js</tt>'.
</p>
-<h2>Loading Javascript Packages</h2>
+<h2 id="62005">Loading Javascript Packages</h2>
<p class="block-content">To load a particular javascript file or package, set the <tt>PackageScripts</tt>
property with value '<tt>package1</tt>' to load the '<tt>package1</tt>' scripts.
@@ -96,10 +96,10 @@ Dependencies of the packages are automatically resolved by the script loader php
&lt;/script&gt;
</com:TTextHighlighter>
-<p>Each <tt>&lt;com:TClientScriptLoader&gt;</tt> generates an HTML <tt>&lt;script&gt;</tt>
+<p id="310009" class="block-content">Each <tt>&lt;com:TClientScriptLoader&gt;</tt> generates an HTML <tt>&lt;script&gt;</tt>
element to load the required javascript files.</p>
-<h2>Removing Javascript Comments</h2>
+<h2 id="62006">Removing Javascript Comments</h2>
<p class="block-content">The <tt>DebugMode</tt> property when false
removes comments and white spaces from the published javascript files. If
the <tt>DebugMode</tt> property is not set, the debug mode is determined from the
@@ -113,7 +113,7 @@ directory for the next requests. That is, in non-debug mode the scripts are cach
in the assets directory until they are deleted.
</div>
-<h2>Compressing Javascript with GZip</h2>
+<h2 id="62007">Compressing Javascript with GZip</h2>
<p class="block-content">
The <tt>EnableGzip</tt> property (default is true) enables the
published javascripts to be served as zipped if the browser and php server allows it.
diff --git a/demos/quickstart/protected/pages/Controls/Conditional.page b/demos/quickstart/protected/pages/Controls/Conditional.page
index e8ea4a65..1fd35e6a 100644
--- a/demos/quickstart/protected/pages/Controls/Conditional.page
+++ b/demos/quickstart/protected/pages/Controls/Conditional.page
@@ -1,6 +1,6 @@
<com:TContent ID="body" >
-<h1>TConditional</h1>
+<h1 id="64008">TConditional</h1>
<com:DocLink ClassPath="System.Web.UI.WebControls.TConditional" />
<p class="block-content">
@@ -17,13 +17,13 @@ you set <tt>Condition</tt> in template only and the expression should not refer
objects that are available on or after the <tt>onInit</tt> lifecycle.
</p>
-<p>
+<p id="320010" class="block-content">
<tt>TConditional</tt> is very light. It instantiates either <tt>TrueTemplate</tt>
<tt>FalseTemplate</tt>, but never both. And the condition is evaluated only once.
A typical usage of TConditional is shown as following:
</p>
-<com:TTextHighlighter Language="prado" CssClass="source">
+<com:TTextHighlighter Language="prado" CssClass="source block-content" id="code_320112">
&lt;com:TConditional Condition="$this->User->IsGuest">
&lt;prop:TrueTemplate>
<a href="path/to/login">Login</a>
diff --git a/demos/quickstart/protected/pages/Controls/Keyboard.page b/demos/quickstart/protected/pages/Controls/Keyboard.page
index 06c91049..8b280718 100644
--- a/demos/quickstart/protected/pages/Controls/Keyboard.page
+++ b/demos/quickstart/protected/pages/Controls/Keyboard.page
@@ -1,29 +1,29 @@
<com:TContent ID="body" >
-<h1>TKeyboard</h1>
+<h1 id="92009">TKeyboard</h1>
<com:DocLink ClassPath="System.Web.UI.WebControls.TKeyboard" />
-<p>
+<p id="460011" class="block-content">
<tt>TKeyboard</tt> displays a virtual keyboard that users can click on to enter input in
an associated text box. It helps to reduce the keyboard recording hacking.
</p>
-<p>
+<p id="460012" class="block-content">
To use TKeyboard, write a template like following:
</p>
-<com:TTextHighlighter Language="prado" CssClass="source">
+<com:TTextHighlighter Language="prado" CssClass="source block-content" id="code_460120">
&lt;com:TTextBox ID="PasswordInput" />
&lt;com:TKeyboard ForControl="PasswordInput" />
</com:TTextHighlighter>
-<p>
+<p id="460013" class="block-content">
A TKeyboard control is associated with a <tt>TTextBox</tt> control by specifying
<tt>ForControl</tt> to be the ID of that control. When the textbox is in focus,
a virtual keyboard will pop up; and when the text box is losing focus, the keyboard
will hide automatically. Set <tt>AutoHide</tt> to false to keep the keyboard showing all the time.
</p>
-<p>
+<p id="460014" class="block-content">
The appearance of the keyboard can also be changed by specifying a customized CSS file via
<tt>CssUrl</tt>. By default, the CSS class name for the keyboard is 'Keyboard'. This may
also be changed by specifying <tt>KeyboardCssClass</tt>
diff --git a/demos/quickstart/protected/pages/Controls/List.page b/demos/quickstart/protected/pages/Controls/List.page
index c7505181..241fdaf4 100644
--- a/demos/quickstart/protected/pages/Controls/List.page
+++ b/demos/quickstart/protected/pages/Controls/List.page
@@ -49,12 +49,14 @@ $listbox->dataBind();
</ul>
<h2 id="4802">TListBox</h2>
+<com:DocLink ClassPath="System.Web.UI.WebControls.TListBox" />
<p id="550331" class="block-content">
<tt>TListBox</tt> displays a list box that allows single or multiple selection. Set the property <tt>SelectionMode</tt> as <tt>Single</tt> to make a single selection list box, and <tt>Multiple</tt> a multiple selection list box. The number of rows displayed in the box is specified via the <tt>Rows</tt> property value.
</p>
<com:RunBar PagePath="Controls.Samples.TListBox.Home" />
<h2 id="4803">TDropDownList</h2>
+<com:DocLink ClassPath="System.Web.UI.WebControls.TDropDownList" />
<p id="550332" class="block-content">
<tt>TDropDownList</tt> displays a dropdown list box that allows users to select a single option from a few prespecified ones.
</p>
@@ -64,6 +66,7 @@ Since v3.1.1, <tt>TDropDownList</tt> starts to support prompt text (something li
<com:RunBar PagePath="Controls.Samples.TDropDownList.Home" />
<h2 id="4804">TCheckBoxList</h2>
+<com:DocLink ClassPath="System.Web.UI.WebControls.TCheckBoxList" />
<p id="550333" class="block-content">
<tt>TCheckBoxList</tt> displays a list of checkboxes on a Web page. The alignment of the text besides each checkbox can be specified <tt>TextAlign</tt>. The layout of the checkboxes can be controlled by the following properties:
</p>
@@ -76,12 +79,14 @@ Since v3.1.1, <tt>TDropDownList</tt> starts to support prompt text (something li
<com:RunBar PagePath="Controls.Samples.TCheckBoxList.Home" />
<h2 id="4805">TRadioButtonList</h2>
+<com:DocLink ClassPath="System.Web.UI.WebControls.TRadioButtonList" />
<p id="550334" class="block-content">
<tt>TRadioButtonList</tt> is similar to <tt>TCheckBoxList</tt> in every aspect except that each <tt>TRadioButtonList</tt> displays a group of radiobuttons. Only one of the radiobuttions can be selected (<tt>TCheckBoxList</tt> allows multiple selections.)
</p>
<com:RunBar PagePath="Controls.Samples.TRadioButtonList.Home" />
<h2 id="4806">TBulletedList</h2>
+<com:DocLink ClassPath="System.Web.UI.WebControls.TBulletedList" />
<p id="550335" class="block-content">
<tt>TBulletedList</tt> displays items in a bullet format on a Web page. The style of the bullets can be specified by <tt>BulletStyle</tt>. When the style is <tt>CustomImage</tt>, the bullets are displayed as images, which is specified by <tt>BulletImageUrl</tt>.
</p>
@@ -96,4 +101,11 @@ Since v3.1.1, <tt>TDropDownList</tt> starts to support prompt text (something li
<com:RunBar PagePath="Controls.Samples.TBulletedList.Home" />
+<h2 id="128001">TRatingList</h2>
+<com:DocLink ClassPath="System.Web.UI.WebControls.TRatingList" />
+
+<p class="block-content">
+This is an EXPERIMENTAL class that displays clickable images that represent a TRadioButtonList.
+</p>
+
<div class="last-modified">$Id$</div></com:TContent> \ No newline at end of file
diff --git a/demos/quickstart/protected/pages/Controls/Slider.page b/demos/quickstart/protected/pages/Controls/Slider.page
index d71c28a0..5a6fa0d5 100644
--- a/demos/quickstart/protected/pages/Controls/Slider.page
+++ b/demos/quickstart/protected/pages/Controls/Slider.page
@@ -9,7 +9,7 @@ which define the range of possible value, and a <em>handle</em> which can slide
a value in the range. The track can be either Horizontal or Vertical, depending of the <tt>Direction</tt>
property. By default, it's horizontal.
</p>
-<p>
+<p id="570015" class="block-content">
The range boundaries are defined by <tt> MinValue</tt> and <tt>MaxValue</tt> properties.
The default range is from 0 to 100.
The <tt>StepSize</tt> property can be used to define the <em>step</em> between 2 values inside the range.
@@ -17,13 +17,13 @@ Notice that this step will be recomputed if there is more than 200 values betwee
You can also provide the allowed values by setting the <tt>Values</tt> array.
</p>
-<p>
+<p id="570016" class="block-content">
The handle sub-properties can be accessed by <tt>Handle</tt> property. You can also provide your own control
for the handle, using <tt>HandleClass</tt> property. Note that this class must be a subclass of
<tt>TSliderHandle</tt>
</p>
-<p>
+<p id="570017" class="block-content">
The TSlider control can be easily customized using CssClasses. You can provide your own css file, using the
<tt>CssUrl</tt> property.
The css class for TSlider can be set by the <tt>CssClass</tt> property. Defaults values are <b>'hslider'</b> for
@@ -33,15 +33,15 @@ draw a red block as a cursor. <b>'handle-image'</b> css class is also provided f
as the handle.
</p>
-<p>
+<p id="570018" class="block-content">
If <tt>AutoPostBack</tt> property is true, postback is performed as soon as the value changed.
</p>
-<p>
+<p id="570019" class="block-content">
TSlider raises the <tt>onValueChanged</tt> event when the value of the slider has changed during postback.
</p>
-<p>
+<p id="570020" class="block-content">
You can also attach ClientSide javascript events handler to the slider :
<ul>
<li><tt>ClientSide.onSlide</tt> is called when the handle is slided on the track. You can get the current value in the <b>value</b>
diff --git a/demos/quickstart/protected/pages/Controls/Standard.page b/demos/quickstart/protected/pages/Controls/Standard.page
index 9fde5a29..6a9cc769 100644
--- a/demos/quickstart/protected/pages/Controls/Standard.page
+++ b/demos/quickstart/protected/pages/Controls/Standard.page
@@ -1,7 +1,7 @@
<com:TContent ID="body" >
-<h1>Standard Controls</h1>
-<p>* the tutorial for this control is not completed yet.</p>
+<h1 id="52001">Standard Controls</h1>
+<p id="260001" class="block-content">* the tutorial for this control is not completed yet.</p>
<ul id="u1" class="block-content">
<li>
<a href="?page=Controls.Button">TButton</a> represents a click button on a Web page. It is mainly used to trigger page postback.
diff --git a/demos/quickstart/protected/pages/Controls/Validation.page b/demos/quickstart/protected/pages/Controls/Validation.page
index 74db7b07..cabb9371 100644
--- a/demos/quickstart/protected/pages/Controls/Validation.page
+++ b/demos/quickstart/protected/pages/Controls/Validation.page
@@ -34,6 +34,8 @@ Validators share a common set of properties, which are defined in the base class
<h1 id="116008">Prado Validation Controls</h1>
<a name="TRequiredFieldValidator"></a>
<h2 id="4902">TRequiredFieldValidator</h2>
+<com:DocLink ClassPath="System.Web.UI.WebControls.TRequiredFieldValidator" />
+
<p id="560340" class="block-content">
TRequiredFieldValidator ensures that the user enters some data in the specified input field. By default, TRequiredFieldValidator will check if the user input is empty or not. The validation fails if the input is empty. By setting <tt>InitialValue</tt>, the validator can check if the user input is different from <tt>InitialValue</tt>. If not, the validation fails.
</p>
@@ -41,6 +43,8 @@ TRequiredFieldValidator ensures that the user enters some data in the specified
<a name="TRegularExpressionValidator"></a>
<h2 id="4903">TRegularExpressionValidator</h2>
+<com:DocLink ClassPath="System.Web.UI.WebControls.TRegularExpressionValidator" />
+
<p id="560341" class="block-content">
TRegularExpressionValidator verifies the user input against a regular pattern. The validation fails if the input does not match the pattern. The regular expression can be specified by the <tt>RegularExpression</tt> property. Some commonly used regular expressions include:
</p>
@@ -65,6 +69,8 @@ Note, TRegularExpressionValidator only checks for nonempty user input. Use a TRe
<com:RunBar PagePath="Controls.Samples.TRegularExpressionValidator.Home" />
<h2 id="TEmailAddressValidator">TEmailAddressValidator</h2>
+<com:DocLink ClassPath="System.Web.UI.WebControls.TEmailAddressValidator" />
+
<p id="560344" class="block-content">
TEmailAddressValidator verifies that the user input is a valid email address. The validator uses a regular expression to check if the input is in a valid email address format. If <tt>CheckMXRecord</tt> is true, the validator will also check whether the MX record indicated by the email address is valid, provided <tt>checkdnsrr()</tt> is available in the installed PHP.
</p>
@@ -75,6 +81,8 @@ Note, if the input being validated is empty, TEmailAddressValidator will not do
<a name="TCompareValidator"></a>
<h2 id="4904">TCompareValidator</h2>
+<com:DocLink ClassPath="System.Web.UI.WebControls.TCompareValidator" />
+
<p id="560346" class="block-content">
TCompareValidator compares the user input with a constant value specified by <tt>ValueToCompare</tt>, or another user input specified by <tt>ControlToCompare</tt>. The <tt>Operator</tt> property specifies how to compare the values, which includes <tt>Equal</tt>, <tt>NotEqual</tt>, <tt>GreaterThan</tt>, <tt>GreaterThanEqual</tt>, <tt>LessThan</tt> and <tt>LessThanEqual</tt>. Before comparison, the values being compared will be converted to the type specified by <tt>DataType</tt> listed as follows,
</p>
@@ -94,6 +102,8 @@ Note, if the input being validated is empty, TEmailAddressValidator will not do
<a name="TDataTypeValidator"></a>
<h2 id="4905">TDataTypeValidator</h2>
+<com:DocLink ClassPath="System.Web.UI.WebControls.TDataTypeValidator" />
+
<p id="560349" class="block-content">
TDataTypeValidator verifies if the input data is of specific type indicated by <tt>DataType</tt>. The data types that can be checked against are the same as those in TCompareValidator.
</p>
@@ -106,6 +116,8 @@ TDataTypeValidator verifies if the input data is of specific type indicated by <
<a name="TRangeValidator"></a>
<h2 id="4906">TRangeValidator</h2>
+<com:DocLink ClassPath="System.Web.UI.WebControls.TRangeValidator" />
+
<p id="560351" class="block-content">
TRangeValidator verifies whether an input value is within a specified range. TRangeValidator uses three key properties to perform its validation. The <tt>MinValue</tt> and <tt>MaxValue</tt> properties specify the minimum and maximum values of the valid range. The <tt>DataType</tt> property specifies the data type of the value being validated. The value will be first converted into the specified type and then compare with the valid range. The data types that can be checked against are the same as those in TCompareValidator.
</p>
@@ -124,6 +136,8 @@ are compared as strictly less than the <tt>MaxValue</tt> and/or strictly greater
<a name="TCustomValidator"></a>
<h2 id="4907">TCustomValidator</h2>
+<com:DocLink ClassPath="System.Web.UI.WebControls.TCustomValidator" />
+
<p id="560353" class="block-content">
TCustomValidator performs user-defined validation (either server-side or client-side or both) on an input control.
</p>
@@ -148,6 +162,8 @@ function ValidationFunctionName(sender, parameter)
<a name="TValidationSummary"></a>
<h2 id="4908">TValidationSummary</h2>
+<com:DocLink ClassPath="System.Web.UI.WebControls.TValidationSummary" />
+
<p id="560356" class="block-content">
TValidationSummary displays a summary of validation errors inline on a Web page, in a message box, or both.
</p>
diff --git a/framework/Web/UI/ActiveControls/TCallback.php b/framework/Web/UI/ActiveControls/TCallback.php
index 7eba46db..03ea5421 100644
--- a/framework/Web/UI/ActiveControls/TCallback.php
+++ b/framework/Web/UI/ActiveControls/TCallback.php
@@ -18,10 +18,10 @@ Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter');
/**
* TCallback component class.
*
- * The TCallback provides a basic callback handler that can be invoke from the
+ * The TCallback provides a basic callback handler that can be invoked from the
* client side by running the javascript code obtained from the
* {@link TBaseActiveCallbackControl::getJavascript ActiveControl.Javascript} property.
- * The event {@link onCallback OnCallback} is raise when a callback is requested made.
+ * The event {@link onCallback OnCallback} is raised when a callback is requested made.
*
* Example usage:
* <code>
diff --git a/framework/Web/UI/ActiveControls/TValueTriggeredCallback.php b/framework/Web/UI/ActiveControls/TValueTriggeredCallback.php
index 4f7c8332..d87af4dc 100644
--- a/framework/Web/UI/ActiveControls/TValueTriggeredCallback.php
+++ b/framework/Web/UI/ActiveControls/TValueTriggeredCallback.php
@@ -22,7 +22,7 @@ Prado::using('System.Web.UI.ActiveControls.TTriggeredCallback');
*
* A {@link setDecayRate DecayRate} can be set to increase the polling
* interval linearly if no changes are observed. Once a change is
- * observe, the polling interval is reset to the original value.
+ * observed, the polling interval is reset to the original value.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
* @version $Id$