diff options
author | rojaro <> | 2011-06-03 21:57:48 +0000 |
---|---|---|
committer | rojaro <> | 2011-06-03 21:57:48 +0000 |
commit | f70d017d69274a49bfccd8003ddfc27e6132edd1 (patch) | |
tree | 8d65551efb36413b378ff8d1f826cd8388331dd5 /demos/quickstart/protected/pages/ActiveControls | |
parent | ff051c0628c1b9cc5aa2a6556f25a95d446e077d (diff) |
removed last-modified message from templates
Diffstat (limited to 'demos/quickstart/protected/pages/ActiveControls')
78 files changed, 714 insertions, 737 deletions
diff --git a/demos/quickstart/protected/pages/ActiveControls/ActiveButton.page b/demos/quickstart/protected/pages/ActiveControls/ActiveButton.page index 741f86e3..d4167f6e 100644 --- a/demos/quickstart/protected/pages/ActiveControls/ActiveButton.page +++ b/demos/quickstart/protected/pages/ActiveControls/ActiveButton.page @@ -1,5 +1,4 @@ <com:TContent ID="body">
-<!-- $Id$ -->
<h1 id="122026">TActiveButton</h1>
<com:DocLink ClassPath="System.Web.UI.ActiveControls.TActiveButton" />
@@ -91,4 +90,4 @@ value contains the javascript statement that hides the "Loading..." span tag. See <a href="?page=ActiveControls.CallbackClientSide">TCallbackClientSide</a> for
further details on client-side property details.
</p>
-<div class="last-modified">$Id$</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/ActiveCheckBox.page b/demos/quickstart/protected/pages/ActiveControls/ActiveCheckBox.page index ac849daa..2841191b 100644 --- a/demos/quickstart/protected/pages/ActiveControls/ActiveCheckBox.page +++ b/demos/quickstart/protected/pages/ActiveControls/ActiveCheckBox.page @@ -1,5 +1,4 @@ <com:TContent ID="body">
-<!-- $Id$ -->
<h1 id="124029">TActiveCheckBox</h1>
<com:DocLink ClassPath="System.Web.UI.ActiveControls.TActiveCheckBox" />
@@ -20,4 +19,4 @@ <com:RunBar PagePath="ActiveControls.Samples.TActiveCheckBox.Home" />
-<div class="last-modified">$Id$</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/ActiveCheckBoxList.page b/demos/quickstart/protected/pages/ActiveControls/ActiveCheckBoxList.page index 07068a43..3382305a 100644 --- a/demos/quickstart/protected/pages/ActiveControls/ActiveCheckBoxList.page +++ b/demos/quickstart/protected/pages/ActiveControls/ActiveCheckBoxList.page @@ -29,4 +29,4 @@ Please refer to the original documentation of <a href="?page=Controls.List">TChe <com:RunBar PagePath="ActiveControls.Samples.TActiveCheckBoxList.Home" />
-<div class="last-modified">$Id$</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/ActiveCustomValidator.page b/demos/quickstart/protected/pages/ActiveControls/ActiveCustomValidator.page index dc9e036f..5c0f9124 100644 --- a/demos/quickstart/protected/pages/ActiveControls/ActiveCustomValidator.page +++ b/demos/quickstart/protected/pages/ActiveControls/ActiveCustomValidator.page @@ -1,5 +1,4 @@ <com:TContent ID="body">
-<!-- $Id$ -->
<h1 id="126030">TActiveCustomValidator</h1>
<com:DocLink ClassPath="System.Web.UI.ActiveControls.TActiveCustomValidator" />
@@ -20,4 +19,4 @@ will be true when validation is made during a callback request. <com:RunBar PagePath="ActiveControls.Samples.TActiveCustomValidator.Home" />
-<div class="last-modified">$Id$</div></com:TContent>
+</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/ActiveDataGrid.page b/demos/quickstart/protected/pages/ActiveControls/ActiveDataGrid.page index 9f413a83..7e487744 100644 --- a/demos/quickstart/protected/pages/ActiveControls/ActiveDataGrid.page +++ b/demos/quickstart/protected/pages/ActiveControls/ActiveDataGrid.page @@ -80,4 +80,4 @@ The following example enables the paging functionality of the datagrid shown in </p>
<com:RunBar PagePath="ActiveControls.Samples.TActiveDataGrid.Sample5" />
-<div class="last-modified">$Id$</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/ActiveDataList.page b/demos/quickstart/protected/pages/ActiveControls/ActiveDataList.page index cef53c66..82a32f89 100644 --- a/demos/quickstart/protected/pages/ActiveControls/ActiveDataList.page +++ b/demos/quickstart/protected/pages/ActiveControls/ActiveDataList.page @@ -20,4 +20,4 @@ Please refer to the original documentation of <a href="?page=Controls.DataList"> <com:RunBar PagePath="ActiveControls.Samples.TActiveDataList.Home" />
-<div class="last-modified">$Id$</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/ActiveDatePicker.page b/demos/quickstart/protected/pages/ActiveControls/ActiveDatePicker.page index b60036d0..3a438e70 100644 --- a/demos/quickstart/protected/pages/ActiveControls/ActiveDatePicker.page +++ b/demos/quickstart/protected/pages/ActiveControls/ActiveDatePicker.page @@ -13,4 +13,4 @@ Please refer to the documentation of <tt>TDatePicker</tt> for further usage info <com:RunBar PagePath="ActiveControls.Samples.TActiveDatePicker.Home" />
-<div class="last-modified">$Id$</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/ActiveDropDownList.page b/demos/quickstart/protected/pages/ActiveControls/ActiveDropDownList.page index 6dfc870a..4459fc6e 100644 --- a/demos/quickstart/protected/pages/ActiveControls/ActiveDropDownList.page +++ b/demos/quickstart/protected/pages/ActiveControls/ActiveDropDownList.page @@ -29,4 +29,4 @@ Please refer to the original documentation of <a href="?page=Controls.List">TDro <com:RunBar PagePath="ActiveControls.Samples.TActiveDropDownList.Home" />
-<div class="last-modified">$Id$</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/ActiveFileUpload.page b/demos/quickstart/protected/pages/ActiveControls/ActiveFileUpload.page index 099e33f7..85888beb 100644 --- a/demos/quickstart/protected/pages/ActiveControls/ActiveFileUpload.page +++ b/demos/quickstart/protected/pages/ActiveControls/ActiveFileUpload.page @@ -30,4 +30,4 @@ or a red x if there was an error. <com:RunBar PagePath="ActiveControls.Samples.TActiveFileUpload.Home" />
-<div class="last-modified">$Id$</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/ActiveHiddenField.page b/demos/quickstart/protected/pages/ActiveControls/ActiveHiddenField.page index 23240da8..fbf4c82d 100644 --- a/demos/quickstart/protected/pages/ActiveControls/ActiveHiddenField.page +++ b/demos/quickstart/protected/pages/ActiveControls/ActiveHiddenField.page @@ -9,4 +9,4 @@ It displays a hidden input field on a Web page. The value of the input field can on callback via the <tt>Value</tt> property.
</p>
-<div class="last-modified">$Id$</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/ActiveHyperLink.page b/demos/quickstart/protected/pages/ActiveControls/ActiveHyperLink.page index e5e51d1f..d4a89f5f 100644 --- a/demos/quickstart/protected/pages/ActiveControls/ActiveHyperLink.page +++ b/demos/quickstart/protected/pages/ActiveControls/ActiveHyperLink.page @@ -1,10 +1,9 @@ <com:TContent ID="body">
-<!-- $Id$ -->
<h1 id="ActiveHyperLink">TActiveHyperLink</h1>
<com:DocLink ClassPath="System.Web.UI.ActiveControls.TActiveHyperLink" />
<p id="770021" class="block-content">
-The active control counterpart of <a href=?page=Controls.HyperLink">THyperLink</a>
+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
change the corresponding attributes and content on the client-side.
@@ -12,4 +11,4 @@ change the corresponding attributes and content on the client-side. <com:RunBar PagePath="ActiveControls.Samples.TActiveHyperLink.Home" />
-<div class="last-modified">$Id$</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/ActiveImage.page b/demos/quickstart/protected/pages/ActiveControls/ActiveImage.page index b9da97c9..3a6ed332 100644 --- a/demos/quickstart/protected/pages/ActiveControls/ActiveImage.page +++ b/demos/quickstart/protected/pages/ActiveControls/ActiveImage.page @@ -13,4 +13,4 @@ and <tt>DescriptionUrl</tt> to be updated during a callback request. </p>
<com:RunBar PagePath="ActiveControls.Samples.TActiveImage.Home" />
-<div class="last-modified">$Id$</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/ActiveImageButton.page b/demos/quickstart/protected/pages/ActiveControls/ActiveImageButton.page index 3d0aae7f..3b83a498 100644 --- a/demos/quickstart/protected/pages/ActiveControls/ActiveImageButton.page +++ b/demos/quickstart/protected/pages/ActiveControls/ActiveImageButton.page @@ -14,4 +14,4 @@ The<tt>OnCallback</tt> event is raised during a callback request and it is raise </p>
<com:RunBar PagePath="ActiveControls.Samples.TActiveImageButton.Home" />
-<div class="last-modified">$Id$</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/ActiveLabel.page b/demos/quickstart/protected/pages/ActiveControls/ActiveLabel.page index e8c84f51..bfef2dc6 100644 --- a/demos/quickstart/protected/pages/ActiveControls/ActiveLabel.page +++ b/demos/quickstart/protected/pages/ActiveControls/ActiveLabel.page @@ -13,4 +13,4 @@ the client-side "for" attribute on the label. <com:RunBar PagePath="ActiveControls.Samples.TActiveLabel.Home" />
-<div class="last-modified">$Id$</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/ActiveLinkButton.page b/demos/quickstart/protected/pages/ActiveControls/ActiveLinkButton.page index dc542ae8..22c81295 100644 --- a/demos/quickstart/protected/pages/ActiveControls/ActiveLinkButton.page +++ b/demos/quickstart/protected/pages/ActiveControls/ActiveLinkButton.page @@ -16,4 +16,4 @@ will update the link text upon callback response completion. <com:RunBar PagePath="ActiveControls.Samples.TActiveLinkButton.Home" />
-<div class="last-modified">$Id$</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/ActiveListBox.page b/demos/quickstart/protected/pages/ActiveControls/ActiveListBox.page index ce45339f..7d3ce3dc 100644 --- a/demos/quickstart/protected/pages/ActiveControls/ActiveListBox.page +++ b/demos/quickstart/protected/pages/ActiveControls/ActiveListBox.page @@ -25,4 +25,4 @@ Please refer to the original documentation of <a href="?page=Controls.List">TLis <com:RunBar PagePath="ActiveControls.Samples.TActiveListBox.Home" />
-<div class="last-modified">$Id$</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/ActiveMultiView.page b/demos/quickstart/protected/pages/ActiveControls/ActiveMultiView.page index 54867a0c..66df478f 100644 --- a/demos/quickstart/protected/pages/ActiveControls/ActiveMultiView.page +++ b/demos/quickstart/protected/pages/ActiveControls/ActiveMultiView.page @@ -11,4 +11,4 @@ <com:RunBar PagePath="ActiveControls.Samples.TActiveMultiView.Home" />
-<div class="last-modified">$Id$</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/ActivePager.page b/demos/quickstart/protected/pages/ActiveControls/ActivePager.page index 4589f381..e48883aa 100755 --- a/demos/quickstart/protected/pages/ActiveControls/ActivePager.page +++ b/demos/quickstart/protected/pages/ActiveControls/ActivePager.page @@ -1,41 +1,41 @@ -<com:TContent ID="body" >
-
-<h1 id="3901">TActivePager</h1>
-<com:DocLink ClassPath="System.Web.UI.WebControls.TPager" />
-
-<p id="450300" class="block-content">
+<com:TContent ID="body" > + +<h1 id="3901">TActivePager</h1> +<com:DocLink ClassPath="System.Web.UI.WebControls.TPager" /> + +<p id="450300" class="block-content"> <tt>TActivePager</tt> creates a pager that provides UI for end-users to interactively specify which page of data to be rendered in a <tt>TDataBoundControl</tt>-derived control, such as <tt>TDataList</tt>, <tt>TRepeater</tt>, <tt>TCheckBoxList</tt>, etc. The target data-bound control is specified by the <tt>ControlToPaginate</tt> property, which must be the ID path of the target control reaching from the pager's naming container. The target-databound must be enclosed inside a <tt>TActivePanel</tt> in order -to be re-rendered during callback
-</p>
-
-<p id="450301" class="block-content">
-Note, the target data-bound control must have its <tt>AllowPaging</tt> set to true. Otherwise the pager will be invisible. Also, in case when there is only one page of data available, the pager will also be invisible.
-</p>
-
-<p id="450302" class="block-content">
-<tt>TActivePager</tt> can display one of the following three types of user interface, specified via its <tt>Mode</tt> property:
-</p>
-<ul id="u1" class="block-content">
-<li><tt>NextPrev</tt> - a next page and a previous page button are rendered on each page.</li>
-<li><tt>Numeric</tt> - a list of page index buttons are rendered.</li>
-<li><tt>DropDownList</tt> - a dropdown list of page indices is rendered.</li>
-</ul>
-<p id="450303" class="block-content">
-These user interfaces may be further customized by configuring the following properties
-</p>
-<ul id="u2" class="block-content">
-<li><tt>NextPageText</tt> and <tt>PrevPageText</tt> - the label of the next/previous page button. These properties are used when the pager <tt>Mode</tt> is <tt>NextPrev</tt> or <tt>Numeric</tt>.</li>
-<li><tt>FirstPageText</tt> and <tt>LastPageText</tt> - the label of the first/last page button. If empty, the corresponding button will not be displayed. These properties are used when the pager <tt>Mode</tt> is <tt>NextPrev</tt> or <tt>Numeric</tt>.</li>
-<li><tt>PageButtonCount</tt> - the maximum number of page index buttons on a page. This property is used when the pager <tt>Mode</tt> is <tt>Numeric</tt>.</li>
-<li><tt>ButtonType</tt> - type of page buttons, either <tt>PushButton</tt> meaning normal form submission buttons, or <tt>LinkButton</tt> meaning hyperlink buttons.</li>
-</ul>
-
-<p id="450304" class="block-content">
+to be re-rendered during callback +</p> + +<p id="450301" class="block-content"> +Note, the target data-bound control must have its <tt>AllowPaging</tt> set to true. Otherwise the pager will be invisible. Also, in case when there is only one page of data available, the pager will also be invisible. +</p> + +<p id="450302" class="block-content"> +<tt>TActivePager</tt> can display one of the following three types of user interface, specified via its <tt>Mode</tt> property: +</p> +<ul id="u1" class="block-content"> +<li><tt>NextPrev</tt> - a next page and a previous page button are rendered on each page.</li> +<li><tt>Numeric</tt> - a list of page index buttons are rendered.</li> +<li><tt>DropDownList</tt> - a dropdown list of page indices is rendered.</li> +</ul> +<p id="450303" class="block-content"> +These user interfaces may be further customized by configuring the following properties +</p> +<ul id="u2" class="block-content"> +<li><tt>NextPageText</tt> and <tt>PrevPageText</tt> - the label of the next/previous page button. These properties are used when the pager <tt>Mode</tt> is <tt>NextPrev</tt> or <tt>Numeric</tt>.</li> +<li><tt>FirstPageText</tt> and <tt>LastPageText</tt> - the label of the first/last page button. If empty, the corresponding button will not be displayed. These properties are used when the pager <tt>Mode</tt> is <tt>NextPrev</tt> or <tt>Numeric</tt>.</li> +<li><tt>PageButtonCount</tt> - the maximum number of page index buttons on a page. This property is used when the pager <tt>Mode</tt> is <tt>Numeric</tt>.</li> +<li><tt>ButtonType</tt> - type of page buttons, either <tt>PushButton</tt> meaning normal form submission buttons, or <tt>LinkButton</tt> meaning hyperlink buttons.</li> +</ul> + +<p id="450304" class="block-content"> <tt>TActivePager</tt> raises an <tt>OnPageIndexChanged</tt> event when an end-user interacts with it and specifies a new page (e.g. by clicking on a next page button that would lead to the next page.) Developers may write handlers to respond to this event and obtain the desired new page index from the event parameter's property <tt>NewPageIndex</tt>. Using this new page index, one can feed a new page of data to the associated data-bound control. -Additionnaly, <tt>TActivePager</tt> raises <tt>OnCallback</tt> after the <tt>OnPageIndexChanged</tt>.
-</p>
-
-<com:RunBar PagePath="ActiveControls.Samples.TActivePager.Home" />
-
-<div class="last-modified">$Id: Pager.page 1650 2007-01-24 06:55:32Z wei $</div></com:TContent>
\ No newline at end of file +Additionnaly, <tt>TActivePager</tt> raises <tt>OnCallback</tt> after the <tt>OnPageIndexChanged</tt>. +</p> + +<com:RunBar PagePath="ActiveControls.Samples.TActivePager.Home" /> + +</com:TContent> diff --git a/demos/quickstart/protected/pages/ActiveControls/ActivePanel.page b/demos/quickstart/protected/pages/ActiveControls/ActivePanel.page index 967b96c0..30f8a619 100644 --- a/demos/quickstart/protected/pages/ActiveControls/ActivePanel.page +++ b/demos/quickstart/protected/pages/ActiveControls/ActivePanel.page @@ -21,4 +21,4 @@ function callback1_requested($sender, $param) <com:RunBar PagePath="ActiveControls.Samples.TActivePanel.Home" />
-<div class="last-modified">$Id$</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/ActiveRadioButton.page b/demos/quickstart/protected/pages/ActiveControls/ActiveRadioButton.page index 95c2e570..8289a148 100644 --- a/demos/quickstart/protected/pages/ActiveControls/ActiveRadioButton.page +++ b/demos/quickstart/protected/pages/ActiveControls/ActiveRadioButton.page @@ -16,5 +16,4 @@ The <tt>GroupName</tt> property may <b>NOT</b> be changed during callback becaus </p>
<com:RunBar PagePath="ActiveControls.Samples.TActiveRadioButton.Home" />
-
-<div class="last-modified">$Id$</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/ActiveRadioButtonList.page b/demos/quickstart/protected/pages/ActiveControls/ActiveRadioButtonList.page index 31f16535..9cdd1835 100644 --- a/demos/quickstart/protected/pages/ActiveControls/ActiveRadioButtonList.page +++ b/demos/quickstart/protected/pages/ActiveControls/ActiveRadioButtonList.page @@ -29,4 +29,4 @@ Please refer to the original documentation of <a href="?page=Controls.List">TRad <com:RunBar PagePath="ActiveControls.Samples.TActiveRadioButtonList.Home" />
-<div class="last-modified">$Id$</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/ActiveRepeater.page b/demos/quickstart/protected/pages/ActiveControls/ActiveRepeater.page index f41c2ece..d83b5a06 100644 --- a/demos/quickstart/protected/pages/ActiveControls/ActiveRepeater.page +++ b/demos/quickstart/protected/pages/ActiveControls/ActiveRepeater.page @@ -19,6 +19,4 @@ Please refer to the original documentation of <a href="?page=Controls.Repeater"> </p>
<com:RunBar PagePath="ActiveControls.Samples.TActiveRepeater.Home" />
-
-
-<div class="last-modified">$Id$</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/ActiveTextBox.page b/demos/quickstart/protected/pages/ActiveControls/ActiveTextBox.page index 9665d11d..5bbfb856 100644 --- a/demos/quickstart/protected/pages/ActiveControls/ActiveTextBox.page +++ b/demos/quickstart/protected/pages/ActiveControls/ActiveTextBox.page @@ -12,4 +12,4 @@ is true, changes to the textbox contents will perform a callback request causing </p>
<com:RunBar PagePath="ActiveControls.Samples.TActiveTextBox.Home" />
-<div class="last-modified">$Id$</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/AutoComplete.page b/demos/quickstart/protected/pages/ActiveControls/AutoComplete.page index f4de7390..898822a0 100644 --- a/demos/quickstart/protected/pages/ActiveControls/AutoComplete.page +++ b/demos/quickstart/protected/pages/ActiveControls/AutoComplete.page @@ -1,5 +1,4 @@ <com:TContent ID="body">
-<!-- $Id$ -->
<h1 id="180030">TAutoComplete</h1>
<com:DocLink ClassPath="System.Web.UI.ActiveControls.TAutoComplete" />
@@ -15,4 +14,4 @@ When a suggestion is selected the <tt>OnSuggestionSelected</tt> event is raised, <com:RunBar PagePath="ActiveControls.Samples.TAutoComplete.Home" />
-<div class="last-modified">$Id$</div></com:TContent>
+</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/Callback.page b/demos/quickstart/protected/pages/ActiveControls/Callback.page index 3e2b8527..bb8338ec 100644 --- a/demos/quickstart/protected/pages/ActiveControls/Callback.page +++ b/demos/quickstart/protected/pages/ActiveControls/Callback.page @@ -31,4 +31,4 @@ Example usage: <com:RunBar PagePath="ActiveControls.Samples.TCallback.Home" />
-<div class="last-modified">$Id$</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/CallbackClientScript.page b/demos/quickstart/protected/pages/ActiveControls/CallbackClientScript.page index 67361f4c..97e9a404 100644 --- a/demos/quickstart/protected/pages/ActiveControls/CallbackClientScript.page +++ b/demos/quickstart/protected/pages/ActiveControls/CallbackClientScript.page @@ -27,4 +27,4 @@ $this->getPage()->getCallbackClient()->hide($myTextBox); <com:RunBar PagePath="ActiveControls.Samples.TCallbackClientScript.Home" />
-<div class="last-modified">$Id: CallbackClientSide.page -1 $</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/CallbackClientSide.page b/demos/quickstart/protected/pages/ActiveControls/CallbackClientSide.page index 8899a884..cfa93846 100644 --- a/demos/quickstart/protected/pages/ActiveControls/CallbackClientSide.page +++ b/demos/quickstart/protected/pages/ActiveControls/CallbackClientSide.page @@ -76,4 +76,4 @@ The following properties can be used to change the way the callback request is p <com:RunBar PagePath="ActiveControls.Samples.TCallbackClientSide.Home" />
-<div class="last-modified">$Id$</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/CallbackEventParameter.page b/demos/quickstart/protected/pages/ActiveControls/CallbackEventParameter.page index f4248638..84ec6359 100644 --- a/demos/quickstart/protected/pages/ActiveControls/CallbackEventParameter.page +++ b/demos/quickstart/protected/pages/ActiveControls/CallbackEventParameter.page @@ -23,4 +23,4 @@ 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 +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/CallbackOptions.page b/demos/quickstart/protected/pages/ActiveControls/CallbackOptions.page index 184c116c..3a89f8d7 100644 --- a/demos/quickstart/protected/pages/ActiveControls/CallbackOptions.page +++ b/demos/quickstart/protected/pages/ActiveControls/CallbackOptions.page @@ -49,4 +49,4 @@ Then, share this set of options to one or more active controls; each control wil <com:RunBar PagePath="ActiveControls.Samples.TCallbackOptions.Home" />
-<div class="last-modified">$Id$</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/DragDrop.page b/demos/quickstart/protected/pages/ActiveControls/DragDrop.page index 3bd6c03a..38104b48 100755 --- a/demos/quickstart/protected/pages/ActiveControls/DragDrop.page +++ b/demos/quickstart/protected/pages/ActiveControls/DragDrop.page @@ -1,17 +1,16 @@ -<com:TContent ID="body">
-<!-- $Id$ -->
-<h1 id="188035">TDropContainer</h1>
-<com:DocLink ClassPath="System.Web.UI.ActiveControls.TDropContainer" />
-
+<com:TContent ID="body"> +<h1 id="188035">TDropContainer</h1> +<com:DocLink ClassPath="System.Web.UI.ActiveControls.TDropContainer" /> + <p class="block-content"><tt>TDropContainer</tt> represent an area where -<tt>TDraggable</tt> controls can be dropped.
-When a <tt>TDraggable</tt> is dropped, a
-callback request is initiated. The <tt>OnCallback</tt> event is raised
-during a callback request and it is raised <strong>after</strong>
-the <tt>OnDropk</tt> event.
+<tt>TDraggable</tt> controls can be dropped. +When a <tt>TDraggable</tt> is dropped, a +callback request is initiated. The <tt>OnCallback</tt> event is raised +during a callback request and it is raised <strong>after</strong> +the <tt>OnDropk</tt> event. </p> -
+ <h1 id="188036">TDraggable</h1> <com:DocLink ClassPath="System.Web.UI.ActiveControls.TDraggable" /> @@ -20,7 +19,7 @@ When a <tt>TDraggable</tt> is dropped, a callback request is initiated. The <tt>OnCallback</tt> event is raised during a callback request and it is raised <strong>after</strong> the <tt>OnDropk</tt> event. -</p>
-<com:RunBar PagePath="ActiveControls.Samples.DragDrop.Home" />
-
-<div class="last-modified">$Id$</div></com:TContent>
\ No newline at end of file +</p> +<com:RunBar PagePath="ActiveControls.Samples.DragDrop.Home" /> + +</com:TContent> diff --git a/demos/quickstart/protected/pages/ActiveControls/EventTriggeredCallback.page b/demos/quickstart/protected/pages/ActiveControls/EventTriggeredCallback.page index 5240ddfe..3693e59a 100644 --- a/demos/quickstart/protected/pages/ActiveControls/EventTriggeredCallback.page +++ b/demos/quickstart/protected/pages/ActiveControls/EventTriggeredCallback.page @@ -12,4 +12,4 @@ The default action of the event on the client-side can be prevented when <com:RunBar PagePath="ActiveControls.Samples.TEventTriggeredCallback.Home" />
-<div class="last-modified">$Id$</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/Home.page b/demos/quickstart/protected/pages/ActiveControls/Home.page index 4eddd2f2..9586f421 100644 --- a/demos/quickstart/protected/pages/ActiveControls/Home.page +++ b/demos/quickstart/protected/pages/ActiveControls/Home.page @@ -1,5 +1,4 @@ <com:TContent ID="body" >
-<!-- $Id$ -->
<h1 id="128031">Active Controls (AJAX enabled Controls)</h1>
<p id="640423" class="block-content">See the <a href="?page=ActiveControls.Introduction">Introduction</a>
for a quick overview of the concept behind active controls (AJAX enabled controls).
@@ -462,4 +461,4 @@ A Prado user can use them to customize active controls behaviour and interact di </li>
</ul>
-<div class="last-modified">$Id$</div></com:TContent>
+</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/InPlaceTextBox.page b/demos/quickstart/protected/pages/ActiveControls/InPlaceTextBox.page index c1d31d41..2fbae2a2 100644 --- a/demos/quickstart/protected/pages/ActiveControls/InPlaceTextBox.page +++ b/demos/quickstart/protected/pages/ActiveControls/InPlaceTextBox.page @@ -39,4 +39,4 @@ the control not editable. This property can be also changed on callback <com:RunBar PagePath="ActiveControls.Samples.TInPlaceTextBox.Home" />
-<div class="last-modified">$Id$</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/Introduction.page b/demos/quickstart/protected/pages/ActiveControls/Introduction.page index 34e00a1b..70cb9cbf 100644 --- a/demos/quickstart/protected/pages/ActiveControls/Introduction.page +++ b/demos/quickstart/protected/pages/ActiveControls/Introduction.page @@ -1,8 +1,7 @@ <com:TContent ID="body">
-<!-- $Id$ -->
<h1 id="130037">Overview of Active Controls</h1>
TODO:
<img src=<%~ postback-callback.png %> class="figure" />
-<div class="last-modified">$Id$</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveButton/Home.page b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveButton/Home.page index 76bd17d4..1e030102 100644 --- a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveButton/Home.page +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveButton/Home.page @@ -1,5 +1,4 @@ <com:TContent ID="body">
-<!-- $Id$ -->
<h1>TActiveButton Samples (AJAX)</h1>
<table class="sampletable">
@@ -45,5 +44,4 @@ A button causing validation with <tt>OnCallback</tt>: </table>
<com:TJavascriptLogger />
-
-<div class="last-modified">$Id$</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveCheckBox/Home.page b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveCheckBox/Home.page index 34408d36..139306f6 100644 --- a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveCheckBox/Home.page +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveCheckBox/Home.page @@ -1,5 +1,4 @@ <com:TContent ID="body">
-<!-- $Id$ -->
<h1>TActiveCheckBox Samples (AJAX)</h1>
<table class="sampletable">
@@ -74,4 +73,4 @@ A checkbox validated by a required field validator: <com:TJavascriptLogger />
-<div class="last-modified">$Id$</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveCheckBoxList/Home.page b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveCheckBoxList/Home.page index 71b83c5a..dc894eec 100644 --- a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveCheckBoxList/Home.page +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveCheckBoxList/Home.page @@ -63,4 +63,4 @@ CheckBox list causing validation: </table>
-<div class="last-modified">$Id$</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveCustomValidator/Home.page b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveCustomValidator/Home.page index f72d887e..e71e60c8 100644 --- a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveCustomValidator/Home.page +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveCustomValidator/Home.page @@ -1,5 +1,4 @@ <com:TContent ID="body">
-<!-- $Id$ -->
<h1>TActiveCustomValidator Samples (AJAX)</h1>
<table class="sampletable">
@@ -19,4 +18,4 @@ Custom validator using callbacks: <com:TJavascriptLogger />
-<div class="last-modified">$Id$</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDataGrid/Sample1.page b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDataGrid/Sample1.page index 967cdf6f..a8bf020c 100644 --- a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDataGrid/Sample1.page +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDataGrid/Sample1.page @@ -15,4 +15,4 @@ AlternatingItemStyle.BackColor="#E6ECFF"
/>
-<div class="last-modified">$Id: Sample1.page 2955 2011-06-02 09:30:55Z ctrlaltca@gmail.com $</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDataGrid/Sample2.page b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDataGrid/Sample2.page index 176f14c8..4df11234 100644 --- a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDataGrid/Sample2.page +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDataGrid/Sample2.page @@ -61,4 +61,4 @@ </com:TPanel>
-<div class="last-modified">$Id: Sample2.page 2955 2011-06-02 09:30:55Z ctrlaltca@gmail.com $</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDataGrid/Sample3.page b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDataGrid/Sample3.page index 4da3aa93..cdc168bf 100644 --- a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDataGrid/Sample3.page +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDataGrid/Sample3.page @@ -80,4 +80,4 @@ />
</com:TActiveDataGrid>
-<div class="last-modified">$Id: Sample3.page 2955 2011-06-02 09:30:55Z ctrlaltca@gmail.com $</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDataGrid/Sample4.page b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDataGrid/Sample4.page index 485c8621..56e69119 100644 --- a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDataGrid/Sample4.page +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDataGrid/Sample4.page @@ -52,4 +52,4 @@ </com:TActiveTemplateColumn>
</com:TActiveDataGrid>
-<div class="last-modified">$Id: Sample4.page 2955 2011-06-02 09:30:55Z ctrlaltca@gmail.com $</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDataGrid/Sample5.page b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDataGrid/Sample5.page index e2b99057..1c043f8f 100644 --- a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDataGrid/Sample5.page +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDataGrid/Sample5.page @@ -22,4 +22,4 @@ />
</div>
-<div class="last-modified">$Id: Sample5.page 2955 2011-06-02 09:30:55Z ctrlaltca@gmail.com $</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDataList/Home.page b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDataList/Home.page index ebd88424..f766b62f 100644 --- a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDataList/Home.page +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDataList/Home.page @@ -122,4 +122,4 @@ </com:TActiveDataList>
-<div class="last-modified">$Id$</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDatePicker/Home.page b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDatePicker/Home.page index fba7ec45..fed86e0c 100644 --- a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDatePicker/Home.page +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDatePicker/Home.page @@ -14,4 +14,4 @@ </table>
-<div class="last-modified">$Id$</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDropDownList/Home.page b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDropDownList/Home.page index 90ba4ea3..4ab02ea2 100644 --- a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDropDownList/Home.page +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDropDownList/Home.page @@ -105,4 +105,4 @@ Dropdown list causing validation: </table>
-<div class="last-modified">$Id$</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveFileUpload/Home.page b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveFileUpload/Home.page index ac82e02e..496aa858 100644 --- a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveFileUpload/Home.page +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveFileUpload/Home.page @@ -12,4 +12,4 @@ Please choose a file to upload: <com:TActiveLabel ID="Result" />
-<div class="last-modified">$Id$</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveHyperLink/Home.page b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveHyperLink/Home.page index 4b8caac9..a3f10613 100644 --- a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveHyperLink/Home.page +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveHyperLink/Home.page @@ -67,4 +67,4 @@ Body contents </table>
<com:TJavascriptLogger />
-<div class="last-modified">$Id$</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveImage/Home.page b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveImage/Home.page index 02cc3446..3b9e9697 100644 --- a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveImage/Home.page +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveImage/Home.page @@ -17,4 +17,4 @@ </table>
-<div class="last-modified">$Id$</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveImageButton/Home.page b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveImageButton/Home.page index 8277a8cb..afdc0035 100644 --- a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveImageButton/Home.page +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveImageButton/Home.page @@ -46,4 +46,4 @@ An image button causing validation: </table>
-<div class="last-modified">$Id$</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveLabel/Home.page b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveLabel/Home.page index a1e242d3..235a7e5e 100644 --- a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveLabel/Home.page +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveLabel/Home.page @@ -31,4 +31,4 @@ Upon button click, the textbox contents will be set on the label. Note that text </table>
-<div class="last-modified">$Id$</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveLinkButton/Home.page b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveLinkButton/Home.page index 0c896f64..8fb09ceb 100644 --- a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveLinkButton/Home.page +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveLinkButton/Home.page @@ -43,4 +43,4 @@ A button causing validation: </table>
-<div class="last-modified">$Id$</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveListBox/Home.page b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveListBox/Home.page index b23b644d..c14b88c6 100644 --- a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveListBox/Home.page +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveListBox/Home.page @@ -105,4 +105,4 @@ Listbox causing validation: </table>
-<div class="last-modified">$Id$</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveMultiView/Home.page b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveMultiView/Home.page index 6888ad78..557f439e 100644 --- a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveMultiView/Home.page +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveMultiView/Home.page @@ -34,4 +34,4 @@ </com:TView>
</com:TActiveMultiView>
-<div class="last-modified">$Id$</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActivePager/Home.page b/demos/quickstart/protected/pages/ActiveControls/Samples/TActivePager/Home.page index 3153088d..e38486d1 100644 --- a/demos/quickstart/protected/pages/ActiveControls/Samples/TActivePager/Home.page +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActivePager/Home.page @@ -1,81 +1,81 @@ -<com:TContent ID="body">
-
-<h1>TActivePager Sample</h1>
-<p>
-The following sample displays three different pagers associated with a single TDataList control. The datalist control is enabled with custom paging, which allows it to read only one page of data each time. This is typical in DB-driven applications.
-</p>
-
-<div>
-Go to page:
-<com:TActivePager ID="Pager"
- ControlToPaginate="DataList"
- PageButtonCount="3"
- Mode="Numeric"
- OnPageIndexChanged="pageChanged"
- OnCallBack="RenderCallback"
- >
- <prop:ClientSide.OnLoading>
- Element.show('wait')
+<com:TContent ID="body"> + +<h1>TActivePager Sample</h1> +<p> +The following sample displays three different pagers associated with a single TDataList control. The datalist control is enabled with custom paging, which allows it to read only one page of data each time. This is typical in DB-driven applications. +</p> + +<div> +Go to page: +<com:TActivePager ID="Pager" + ControlToPaginate="DataList" + PageButtonCount="3" + Mode="Numeric" + OnPageIndexChanged="pageChanged" + OnCallBack="RenderCallback" + > + <prop:ClientSide.OnLoading> + Element.show('wait') </prop:ClientSide.OnLoading> <prop:ClientSide.OnComplete> Element.hide('wait') - </prop:ClientSide.OnComplete>
+ </prop:ClientSide.OnComplete> </com:TActivePager> -<span id="wait" style="display: none;color: red">Please Wait...</span>
-</div>
-<com:TActivePanel id="TActivePanel" ActiveControl.EnableUpdate="true">
-<com:TDataList
- ID="DataList"
- AllowPaging="true"
- AllowCustomPaging="true"
- PageSize="2"
- EnableViewState="true"
- RepeatColumns="2"
- RepeatDirection="Vertical"
- ItemStyle.Font.Italic="true"
- ItemStyle.BackColor="#BFCFFF"
- HeaderStyle.BackColor="black"
- HeaderStyle.ForeColor="white"
- FooterStyle.BackColor="gray"
- AlternatingItemStyle.BackColor="#E6ECFF">
-
-<prop:HeaderTemplate>
-<div style="font-weight:bold; text-align:center;">Computer Parts</div>
-</prop:HeaderTemplate>
-
-<prop:FooterTemplate>
-<div style="font-weight:bold; text-align:center;">
-Total <%# $this->Parent->PageCount %> pages.
-</div>
-</prop:FooterTemplate>
-
-<prop:ItemTemplate>
-<table border="0" width="300">
-<tr>
- <th>ID</th><th>Name</th><th>Quantity</th><th>Price</th>
-</tr>
-<tr>
- <td align="right"><com:TLiteral Text=<%#$this->DataItem['id'] %> /></td>
- <td align="right"><com:TLiteral Text=<%#$this->DataItem['name'] %> /></td>
- <td align="right"><com:TLiteral Text=<%#$this->DataItem['quantity'] %> /></td>
- <td align="right">$<com:TLiteral Text=<%#$this->DataItem['price'] %> /></td>
-</tr>
-</table>
-</prop:ItemTemplate>
-
-</com:TDataList>
+<span id="wait" style="display: none;color: red">Please Wait...</span> +</div> +<com:TActivePanel id="TActivePanel" ActiveControl.EnableUpdate="true"> +<com:TDataList + ID="DataList" + AllowPaging="true" + AllowCustomPaging="true" + PageSize="2" + EnableViewState="true" + RepeatColumns="2" + RepeatDirection="Vertical" + ItemStyle.Font.Italic="true" + ItemStyle.BackColor="#BFCFFF" + HeaderStyle.BackColor="black" + HeaderStyle.ForeColor="white" + FooterStyle.BackColor="gray" + AlternatingItemStyle.BackColor="#E6ECFF"> + +<prop:HeaderTemplate> +<div style="font-weight:bold; text-align:center;">Computer Parts</div> +</prop:HeaderTemplate> + +<prop:FooterTemplate> +<div style="font-weight:bold; text-align:center;"> +Total <%# $this->Parent->PageCount %> pages. +</div> +</prop:FooterTemplate> + +<prop:ItemTemplate> +<table border="0" width="300"> +<tr> + <th>ID</th><th>Name</th><th>Quantity</th><th>Price</th> +</tr> +<tr> + <td align="right"><com:TLiteral Text=<%#$this->DataItem['id'] %> /></td> + <td align="right"><com:TLiteral Text=<%#$this->DataItem['name'] %> /></td> + <td align="right"><com:TLiteral Text=<%#$this->DataItem['quantity'] %> /></td> + <td align="right">$<com:TLiteral Text=<%#$this->DataItem['price'] %> /></td> +</tr> +</table> +</prop:ItemTemplate> + +</com:TDataList> </com:TActivePanel> -
-<com:TActivePager ID="Pager2"
- ControlToPaginate="DataList"
- FirstPageText="9"
- LastPageText=":"
- Mode="NextPrev"
- NextPageText="4"
- PrevPageText="3"
- Font.Name="Webdings"
- OnPageIndexChanged="pageChanged"
- OnCallBack="RenderCallback"
+ +<com:TActivePager ID="Pager2" + ControlToPaginate="DataList" + FirstPageText="9" + LastPageText=":" + Mode="NextPrev" + NextPageText="4" + PrevPageText="3" + Font.Name="Webdings" + OnPageIndexChanged="pageChanged" + OnCallBack="RenderCallback" > <prop:ClientSide.OnLoading> Element.show('wait') @@ -83,21 +83,21 @@ Total <%# $this->Parent->PageCount %> pages. <prop:ClientSide.OnComplete> Element.hide('wait') </prop:ClientSide.OnComplete> -</com:TActivePager>
-<br/>
-Choose page:
-<com:TActivePager ID="Pager3"
- ControlToPaginate="DataList"
- Mode="DropDownList"
- OnPageIndexChanged="pageChanged"
- OnCallBack="RenderCallback"
+</com:TActivePager> +<br/> +Choose page: +<com:TActivePager ID="Pager3" + ControlToPaginate="DataList" + Mode="DropDownList" + OnPageIndexChanged="pageChanged" + OnCallBack="RenderCallback" > <prop:ClientSide.OnLoading> Element.show('wait') </prop:ClientSide.OnLoading> <prop:ClientSide.OnComplete> Element.hide('wait') - </prop:ClientSide.OnComplete>
-</com:TActivePager>
-<com:TJavascriptLogger/>
-<div class="last-modified">$Id$</div></com:TContent>
+ </prop:ClientSide.OnComplete> +</com:TActivePager> +<com:TJavascriptLogger/> +</com:TContent> diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActivePanel/Home.page b/demos/quickstart/protected/pages/ActiveControls/Samples/TActivePanel/Home.page index 1fb7ca23..360b6b0f 100644 --- a/demos/quickstart/protected/pages/ActiveControls/Samples/TActivePanel/Home.page +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActivePanel/Home.page @@ -21,4 +21,4 @@ anyway since they are placed inside the active panel. </td></tr>
</table>
<com:TJavascriptLogger />
-<div class="last-modified">$Id$</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveRadioButton/Home.page b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveRadioButton/Home.page index 13b7853c..2f721df9 100644 --- a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveRadioButton/Home.page +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveRadioButton/Home.page @@ -79,4 +79,4 @@ A radiobutton group: </table>
-<div class="last-modified">$Id$</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveRadioButtonList/Home.page b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveRadioButtonList/Home.page index 1e3a185f..6a39fd24 100644 --- a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveRadioButtonList/Home.page +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveRadioButtonList/Home.page @@ -62,5 +62,4 @@ RadioButton list causing validation: </tr>
</table>
-
-<div class="last-modified">$Id$</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveRepeater/Home.page b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveRepeater/Home.page index 4d855cbc..546166eb 100644 --- a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveRepeater/Home.page +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveRepeater/Home.page @@ -89,4 +89,4 @@ The following example allows users to modify the existing tabular data using a < </com:TSafeHtml>
-<div class="last-modified">$Id: Sample3.page 1688 2007-02-09 22:48:31Z xue $</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveTableRow/Home.page b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveTableRow/Home.page index e96a22a5..0b3f84fb 100644 --- a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveTableRow/Home.page +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveTableRow/Home.page @@ -1,5 +1,4 @@ <com:TContent ID="body">
-<!-- $Id: Home.page 1650 2007-01-24 06:55:32Z wei $ -->
<h1>TActiveTableRow and TActiveTableCellSamples</h1>
<com:TTable CssClass="sampletable">
@@ -17,4 +16,4 @@ <com:TActiveLabel id="lblResult"/>
<com:TJavascriptLogger />
-<div class="last-modified">$Id: Home.page 1650 2007-01-24 06:55:32Z wei $</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveTextBox/Home.page b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveTextBox/Home.page index b4ea8afc..23afd67a 100644 --- a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveTextBox/Home.page +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveTextBox/Home.page @@ -28,4 +28,4 @@ Note that text needs to be properly escaped to avoid html injections: </table>
-<div class="last-modified">$Id: Home.page 2946 2011-06-01 21:01:57Z ctrlaltca@gmail.com $</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TAutoComplete/Home.page b/demos/quickstart/protected/pages/ActiveControls/Samples/TAutoComplete/Home.page index 6f566364..85c0e69f 100644 --- a/demos/quickstart/protected/pages/ActiveControls/Samples/TAutoComplete/Home.page +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TAutoComplete/Home.page @@ -1,5 +1,4 @@ <com:TContent ID="body">
-<!-- $Id$ -->
<style type="text/css">
<!--
@@ -54,4 +53,4 @@ Autocompleter with multiple selection: <com:TJavascriptLogger />
-<div class="last-modified">$Id$</div></com:TContent>
+</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TCallback/Home.page b/demos/quickstart/protected/pages/ActiveControls/Samples/TCallback/Home.page index 55ced11e..04781438 100644 --- a/demos/quickstart/protected/pages/ActiveControls/Samples/TCallback/Home.page +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TCallback/Home.page @@ -54,4 +54,4 @@ TextBox for third parameter: <com:TTextBox ID="txt1" text="value 3"/> </table>
-<div class="last-modified">$Id$</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TCallbackClientScript/Home.page b/demos/quickstart/protected/pages/ActiveControls/Samples/TCallbackClientScript/Home.page index 49baa47c..539909a9 100644 --- a/demos/quickstart/protected/pages/ActiveControls/Samples/TCallbackClientScript/Home.page +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TCallbackClientScript/Home.page @@ -36,4 +36,4 @@ <com:TJavascriptLogger />
-<div class="last-modified">$Id: Home.page -1 $</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TCallbackClientSide/Home.page b/demos/quickstart/protected/pages/ActiveControls/Samples/TCallbackClientSide/Home.page index 4540dd91..0d13bb90 100644 --- a/demos/quickstart/protected/pages/ActiveControls/Samples/TCallbackClientSide/Home.page +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TCallbackClientSide/Home.page @@ -70,4 +70,4 @@ connection error has occured. <com:TJavascriptLogger />
-<div class="last-modified">$Id: Home.page -1 $</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TCallbackOptions/Home.page b/demos/quickstart/protected/pages/ActiveControls/Samples/TCallbackOptions/Home.page index 9cc2f155..cfb041ea 100644 --- a/demos/quickstart/protected/pages/ActiveControls/Samples/TCallbackOptions/Home.page +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TCallbackOptions/Home.page @@ -74,4 +74,4 @@ The same TCallbackOptions can be shared among different controls, even of differ <com:TJavascriptLogger />
-<div class="last-modified">$Id$</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TEventTriggeredCallback/Home.page b/demos/quickstart/protected/pages/ActiveControls/Samples/TEventTriggeredCallback/Home.page index e5293f87..8cfa59de 100644 --- a/demos/quickstart/protected/pages/ActiveControls/Samples/TEventTriggeredCallback/Home.page +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TEventTriggeredCallback/Home.page @@ -15,4 +15,4 @@ </table>
-<div class="last-modified">$Id$</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TInPlaceTextBox/Home.page b/demos/quickstart/protected/pages/ActiveControls/Samples/TInPlaceTextBox/Home.page index cd55a432..7a8142bc 100644 --- a/demos/quickstart/protected/pages/ActiveControls/Samples/TInPlaceTextBox/Home.page +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TInPlaceTextBox/Home.page @@ -14,4 +14,4 @@ An in-place textbox text updating a label when its text changes: </table>
-<div class="last-modified">$Id$</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TTimeTriggeredCallback/Home.page b/demos/quickstart/protected/pages/ActiveControls/Samples/TTimeTriggeredCallback/Home.page index 822be2b4..6ef8d0d3 100644 --- a/demos/quickstart/protected/pages/ActiveControls/Samples/TTimeTriggeredCallback/Home.page +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TTimeTriggeredCallback/Home.page @@ -21,4 +21,4 @@ A timer updating a label with the current time every 5 seconds: </table>
-<div class="last-modified">$Id$</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TValueTriggeredCallback/Home.page b/demos/quickstart/protected/pages/ActiveControls/Samples/TValueTriggeredCallback/Home.page index 50edf6ed..1df7684f 100644 --- a/demos/quickstart/protected/pages/ActiveControls/Samples/TValueTriggeredCallback/Home.page +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TValueTriggeredCallback/Home.page @@ -14,4 +14,4 @@ </table>
-<div class="last-modified">$Id$</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/TimeTriggeredCallback.page b/demos/quickstart/protected/pages/ActiveControls/TimeTriggeredCallback.page index d36ec2d9..4d0dd810 100644 --- a/demos/quickstart/protected/pages/ActiveControls/TimeTriggeredCallback.page +++ b/demos/quickstart/protected/pages/ActiveControls/TimeTriggeredCallback.page @@ -13,4 +13,4 @@ The timer can be started by calling <tt>startTimer()</tt> and stopped using <com:RunBar PagePath="ActiveControls.Samples.TTimeTriggeredCallback.Home" />
-<div class="last-modified">$Id$</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/ValueTriggeredCallback.page b/demos/quickstart/protected/pages/ActiveControls/ValueTriggeredCallback.page index bdf8b459..1803f611 100644 --- a/demos/quickstart/protected/pages/ActiveControls/ValueTriggeredCallback.page +++ b/demos/quickstart/protected/pages/ActiveControls/ValueTriggeredCallback.page @@ -15,4 +15,4 @@ observed, the polling interval is reset to the original value. <com:RunBar PagePath="ActiveControls.Samples.TValueTriggeredCallback.Home" />
-<div class="last-modified">$Id$</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/id/ActiveButton.page b/demos/quickstart/protected/pages/ActiveControls/id/ActiveButton.page index b108e56e..60e80bdb 100644 --- a/demos/quickstart/protected/pages/ActiveControls/id/ActiveButton.page +++ b/demos/quickstart/protected/pages/ActiveControls/id/ActiveButton.page @@ -1,78 +1,77 @@ -<com:TContent ID="body">
-<!-- $Id: ActiveButton.page 1817 2007-03-31 23:36:00Z wei $ -->
-<h1 id="122026">TActiveButton</h1>
-<com:DocLink ClassPath="System.Web.UI.ActiveControls.TActiveButton" />
-
-<p id="610410" class="block-content"><tt>TActiveButton</tt> adalah kontrol aktif selain
-<a href="?page=Controls.Button">TButton</a>.
-Ketika <tt>TActiveButton</tt> diklik pada permintaan postback normal, permintaan callback yang diinisiasi. Event <tt>OnCallback</tt> dimunculkan selama permintaan callback dan dimunculkan <strong>setelah</strong> event <tt>OnClick</tt>.
-</p>
-
-<p id="610411" class="block-content">Ketika properti <tt>ActiveControl.EnableUpdate</tt> adalah true,
-mengubah properti <tt>Text</tt> selama permintaan callback akan memutakhirkan
-judul tombol pada sisi-klien.</p>
-
-<p id="610412" class="block-content">Karena event <tt>OnCallback</tt> hanya dimunculkan selama permintaan callback, pengendali event <tt>OnCallback</tt> bisa dipakai untuk menangani logika terutama yang terkait dengan permintaan callback. Pengendali event <tt>OnClick</tt> dimunculkan kapan saja tombol diklik, meskipun javascript dimatikan.</p>
-
-<p id="610413" class="block-content">Contoh berikut menggunakan kedua event <tt>OnClick</tt> dan <tt>OnCallback</tt> dari <tt>TActiveButton</tt>.</p>
-
-<com:RunBar PagePath="ActiveControls.Samples.TActiveButton.Home" />
-
-<h2 id="122027">Diagram Kelas TActiveButton</h2>
-<p id="610414" class="block-content">Diagram kelas untuk <tt>TActiveButton</tt> diilustrasikan dalam gambar berikut.
-Banyak kontrol aktif yang melakukan permintaan callback mempunyai struktur yang mirip.
-</p>
-
-<img src=<%~ TActiveButtonClass.png %> class="figure"
- alt="TActiveButton class diagram" title="Diagram kelas TActiveButton" />
-
-<p id="610415" class="block-content"><tt>TActiveButton</tt> adalah ekstensi dari <a href="?page=Controls.Button">TButton</a> dan mengimplementasikan dua antarmuka tambahan <tt>ICallbackEventHandler</tt> dan
-<tt>IActiveControl</tt>. <tt>TActiveButton</tt> berisi turunan dari
-<a href="?page=ActiveControls.BaseActiveControl">TBaseActiveCallbackControl</a>
-yang tersedia melalui properti <tt>ActiveControl</tt> dari <tt>TActiveButton</tt>.
-Contoh berikut menyetel parameter callback atas <tt>TActiveButton</tt> saat
-permintaan callback ditampung.
-</p>
-<com:TTextHighlighter Language="prado" CssClass="source block-content" id="code1">
-<com:TActiveButton
- Text="Click Me"
- OnCallback="button_callback"
- ActiveControl.CallbackParameter="value" />
-</com:TTextHighlighter>
-<p id="610416" class="block-content">Dalam metode pengendali event <tt>OnCallback</tt>, <tt>CallbackParameter</tt> tersedua di dalam obyek <tt>$param</tt>.</p>
-<com:TTextHighlighter Language="php" CssClass="source block-content" id="code2">
-public function button_callback($sender, $param)
-{
- echo $param->CallbackParameter; //mengeluarkan "value"
-}
-</com:TTextHighlighter>
-
-<h2 id="122028">Menambah Perilaku Sisi Klien</h2>
-
-<p id="610417" class="block-content">Di dalam properti <tt>ActiveControl</tt> adalah turunan dari
-<a href="?page=ActiveControls.CallbackClientSide">TCallbackClientSide</a> yang tersedia sebagai <tt>ClientSide</tt> dari <tt>TActiveButton</tt>.
-Properti <tt>ClientSide</tt> berisi sub-properti, serperti <tt>RequestTimeOut</tt>, dan pengendali event javascript sisi-klien, seperti <tt>OnLoading</tt>, dipakai oleh sisi-klien saat membuat permitaan callback.
-Contoh berikut mendemonstrasikan menghidup matikan indikator "loading" saat sisi-klien
-membuat permintaan callback.
-</p>
-
-<com:TTextHighlighter Language="prado" CssClass="source block-content" id="code3">
-<com:TClientScript PradoScripts="effects" />
-<span id="callback_status">Loading...</span>
-
-<com:TActiveButton
- Text="Click Me"
- OnCallback="button_callback"
- ActiveControl.CallbackParameter="value" >
- <prop:ClientSide
- OnLoading="Element.show('callback_status')"
- OnComplete="Element.hide('callback_status')" />
-</com:TActiveButton>
-</com:TTextHighlighter>
-
-<p id="610418" class="block-content">Contoh ini mengambil librari javascript "effects" menggunakan komponen
-<a href="?page=Controls.ClientScript">TClientScript</a>.
-Nilai properti <tt>ClientSide.OnLoading</tt> berisi pernyataan javascript yang menggunakan librari "effects" untuk menampilkan tag span "Loading...". Hal yang mirip, nilai properti <tt>ClientSide.OnComplete</tt> berisi pernyataan javascript yang menyembunyikan tag span "Loading...".
-Lihat <a href="?page=ActiveControls.CallbackClientSide">TCallbackClientSide</a> untuk rincian lebih jelas pada detil properti sisi-klien.
-</p>
-<div class="last-modified">$Id: ActiveButton.page 1817 2007-03-31 23:36:00Z wei $</div></com:TContent>
\ No newline at end of file +<com:TContent ID="body"> +<h1 id="122026">TActiveButton</h1> +<com:DocLink ClassPath="System.Web.UI.ActiveControls.TActiveButton" /> + +<p id="610410" class="block-content"><tt>TActiveButton</tt> adalah kontrol aktif selain +<a href="?page=Controls.Button">TButton</a>. +Ketika <tt>TActiveButton</tt> diklik pada permintaan postback normal, permintaan callback yang diinisiasi. Event <tt>OnCallback</tt> dimunculkan selama permintaan callback dan dimunculkan <strong>setelah</strong> event <tt>OnClick</tt>. +</p> + +<p id="610411" class="block-content">Ketika properti <tt>ActiveControl.EnableUpdate</tt> adalah true, +mengubah properti <tt>Text</tt> selama permintaan callback akan memutakhirkan +judul tombol pada sisi-klien.</p> + +<p id="610412" class="block-content">Karena event <tt>OnCallback</tt> hanya dimunculkan selama permintaan callback, pengendali event <tt>OnCallback</tt> bisa dipakai untuk menangani logika terutama yang terkait dengan permintaan callback. Pengendali event <tt>OnClick</tt> dimunculkan kapan saja tombol diklik, meskipun javascript dimatikan.</p> + +<p id="610413" class="block-content">Contoh berikut menggunakan kedua event <tt>OnClick</tt> dan <tt>OnCallback</tt> dari <tt>TActiveButton</tt>.</p> + +<com:RunBar PagePath="ActiveControls.Samples.TActiveButton.Home" /> + +<h2 id="122027">Diagram Kelas TActiveButton</h2> +<p id="610414" class="block-content">Diagram kelas untuk <tt>TActiveButton</tt> diilustrasikan dalam gambar berikut. +Banyak kontrol aktif yang melakukan permintaan callback mempunyai struktur yang mirip. +</p> + +<img src=<%~ TActiveButtonClass.png %> class="figure" + alt="TActiveButton class diagram" title="Diagram kelas TActiveButton" /> + +<p id="610415" class="block-content"><tt>TActiveButton</tt> adalah ekstensi dari <a href="?page=Controls.Button">TButton</a> dan mengimplementasikan dua antarmuka tambahan <tt>ICallbackEventHandler</tt> dan +<tt>IActiveControl</tt>. <tt>TActiveButton</tt> berisi turunan dari +<a href="?page=ActiveControls.BaseActiveControl">TBaseActiveCallbackControl</a> +yang tersedia melalui properti <tt>ActiveControl</tt> dari <tt>TActiveButton</tt>. +Contoh berikut menyetel parameter callback atas <tt>TActiveButton</tt> saat +permintaan callback ditampung. +</p> +<com:TTextHighlighter Language="prado" CssClass="source block-content" id="code1"> +<com:TActiveButton + Text="Click Me" + OnCallback="button_callback" + ActiveControl.CallbackParameter="value" /> +</com:TTextHighlighter> +<p id="610416" class="block-content">Dalam metode pengendali event <tt>OnCallback</tt>, <tt>CallbackParameter</tt> tersedua di dalam obyek <tt>$param</tt>.</p> +<com:TTextHighlighter Language="php" CssClass="source block-content" id="code2"> +public function button_callback($sender, $param) +{ + echo $param->CallbackParameter; //mengeluarkan "value" +} +</com:TTextHighlighter> + +<h2 id="122028">Menambah Perilaku Sisi Klien</h2> + +<p id="610417" class="block-content">Di dalam properti <tt>ActiveControl</tt> adalah turunan dari +<a href="?page=ActiveControls.CallbackClientSide">TCallbackClientSide</a> yang tersedia sebagai <tt>ClientSide</tt> dari <tt>TActiveButton</tt>. +Properti <tt>ClientSide</tt> berisi sub-properti, serperti <tt>RequestTimeOut</tt>, dan pengendali event javascript sisi-klien, seperti <tt>OnLoading</tt>, dipakai oleh sisi-klien saat membuat permitaan callback. +Contoh berikut mendemonstrasikan menghidup matikan indikator "loading" saat sisi-klien +membuat permintaan callback. +</p> + +<com:TTextHighlighter Language="prado" CssClass="source block-content" id="code3"> +<com:TClientScript PradoScripts="effects" /> +<span id="callback_status">Loading...</span> + +<com:TActiveButton + Text="Click Me" + OnCallback="button_callback" + ActiveControl.CallbackParameter="value" > + <prop:ClientSide + OnLoading="Element.show('callback_status')" + OnComplete="Element.hide('callback_status')" /> +</com:TActiveButton> +</com:TTextHighlighter> + +<p id="610418" class="block-content">Contoh ini mengambil librari javascript "effects" menggunakan komponen +<a href="?page=Controls.ClientScript">TClientScript</a>. +Nilai properti <tt>ClientSide.OnLoading</tt> berisi pernyataan javascript yang menggunakan librari "effects" untuk menampilkan tag span "Loading...". Hal yang mirip, nilai properti <tt>ClientSide.OnComplete</tt> berisi pernyataan javascript yang menyembunyikan tag span "Loading...". +Lihat <a href="?page=ActiveControls.CallbackClientSide">TCallbackClientSide</a> untuk rincian lebih jelas pada detil properti sisi-klien. +</p> +</com:TContent> diff --git a/demos/quickstart/protected/pages/ActiveControls/id/ActiveCheckBox.page b/demos/quickstart/protected/pages/ActiveControls/id/ActiveCheckBox.page index e75e559a..e1f11e99 100644 --- a/demos/quickstart/protected/pages/ActiveControls/id/ActiveCheckBox.page +++ b/demos/quickstart/protected/pages/ActiveControls/id/ActiveCheckBox.page @@ -1,22 +1,21 @@ -<com:TContent ID="body">
-<!-- $Id: ActiveCheckBox.page 1650 2007-01-24 06:55:32Z wei $ -->
-<h1 id="124029">TActiveCheckBox</h1>
-<com:DocLink ClassPath="System.Web.UI.ActiveControls.TActiveCheckBox" />
-
-<p id="620419" class="block-content">
-<tt>TActiveCheckBox</tt> adalah kontrol aktif selain
-<a href="?page=Controls.CheckBox">TCheckbox</a>. Properti <tt>AutoPostBack</tt>
- dari <tt>TActiveCheckBox</tt> standarnya disetel true.
- Selanjutnya, saat kotak centang diklik, event <tt>OnCallback</tt> muncul setelah event <tt>OnCheckedChanged</tt>.
- </p>
-
- <p id="620420" class="block-content">
- Properti <tt>Text</tt> dan <tt>Checked</tt> dari <tt>TActiveCheckBox</tt>
- bisa diubah selama permintaan callback. Properti <tt>TextAlign</tt> dari
- <tt>TActiveCheckBox</tt> <strong>tidak bisa</strong> diubah saat permintaan
- callback.
-</p>
-
-<com:RunBar PagePath="ActiveControls.Samples.TActiveCheckBox.Home" />
-
-<div class="last-modified">$Id: ActiveCheckBox.page 1650 2007-01-24 06:55:32Z wei $</div></com:TContent>
\ No newline at end of file +<com:TContent ID="body"> +<h1 id="124029">TActiveCheckBox</h1> +<com:DocLink ClassPath="System.Web.UI.ActiveControls.TActiveCheckBox" /> + +<p id="620419" class="block-content"> +<tt>TActiveCheckBox</tt> adalah kontrol aktif selain +<a href="?page=Controls.CheckBox">TCheckbox</a>. Properti <tt>AutoPostBack</tt> + dari <tt>TActiveCheckBox</tt> standarnya disetel true. + Selanjutnya, saat kotak centang diklik, event <tt>OnCallback</tt> muncul setelah event <tt>OnCheckedChanged</tt>. + </p> + + <p id="620420" class="block-content"> + Properti <tt>Text</tt> dan <tt>Checked</tt> dari <tt>TActiveCheckBox</tt> + bisa diubah selama permintaan callback. Properti <tt>TextAlign</tt> dari + <tt>TActiveCheckBox</tt> <strong>tidak bisa</strong> diubah saat permintaan + callback. +</p> + +<com:RunBar PagePath="ActiveControls.Samples.TActiveCheckBox.Home" /> + +</com:TContent> diff --git a/demos/quickstart/protected/pages/ActiveControls/id/ActiveCustomValidator.page b/demos/quickstart/protected/pages/ActiveControls/id/ActiveCustomValidator.page index ebec56ce..cc089757 100644 --- a/demos/quickstart/protected/pages/ActiveControls/id/ActiveCustomValidator.page +++ b/demos/quickstart/protected/pages/ActiveControls/id/ActiveCustomValidator.page @@ -1,23 +1,22 @@ -<com:TContent ID="body">
-<!-- $Id: ActiveCustomValidator.page 1650 2007-01-24 06:55:32Z wei $ -->
-<h1 id="126030">TActiveCustomValidator</h1>
-<com:DocLink ClassPath="System.Web.UI.ActiveControls.TActiveCustomValidator" />
-
-<p id="630421" class="block-content">Melakukan validasi kustom hanya menggunakan event validasi <tt>OnServerValidate</tt>
- sisi-server. Sisi-klien menggunakan callback untuk memunculkan event
- <tt>onServerValidate</tt>. Properti <tt>ClientValidationFunction</tt> dimatikan
- dan akan mengeluarkan eksepsi jika mencoba untuk menyetel properti ini.
-</p>
-
-<p id="630422" class="block-content"> Harap berhati-hati <tt>onServerValidate</tt> dapat
-dimunculkan saat kontrol yang divalidasi pada sisi klien mengubah nilai,
-yaitu validasi server mungkin dipanggil berkali-kali.
-
-Setelah callback atau postback, {@link onServerValidate onServerValidate}
-dimunculkan hanya sekali. Properti <tt>IsCallback</tt> dari kelas <tt>TPage</tt>
-menjadi true ketika validasi dibuat selama permintaan callback.
-</p>
-
-<com:RunBar PagePath="ActiveControls.Samples.TActiveCustomValidator.Home" />
-
-<div class="last-modified">$Id: ActiveCustomValidator.page 1650 2007-01-24 06:55:32Z wei $</div></com:TContent>
+<com:TContent ID="body"> +<h1 id="126030">TActiveCustomValidator</h1> +<com:DocLink ClassPath="System.Web.UI.ActiveControls.TActiveCustomValidator" /> + +<p id="630421" class="block-content">Melakukan validasi kustom hanya menggunakan event validasi <tt>OnServerValidate</tt> + sisi-server. Sisi-klien menggunakan callback untuk memunculkan event + <tt>onServerValidate</tt>. Properti <tt>ClientValidationFunction</tt> dimatikan + dan akan mengeluarkan eksepsi jika mencoba untuk menyetel properti ini. +</p> + +<p id="630422" class="block-content"> Harap berhati-hati <tt>onServerValidate</tt> dapat +dimunculkan saat kontrol yang divalidasi pada sisi klien mengubah nilai, +yaitu validasi server mungkin dipanggil berkali-kali. + +Setelah callback atau postback, {@link onServerValidate onServerValidate} +dimunculkan hanya sekali. Properti <tt>IsCallback</tt> dari kelas <tt>TPage</tt> +menjadi true ketika validasi dibuat selama permintaan callback. +</p> + +<com:RunBar PagePath="ActiveControls.Samples.TActiveCustomValidator.Home" /> + +</com:TContent> diff --git a/demos/quickstart/protected/pages/ActiveControls/id/ActiveHyperLink.page b/demos/quickstart/protected/pages/ActiveControls/id/ActiveHyperLink.page index d41c5766..5fe3f84a 100644 --- a/demos/quickstart/protected/pages/ActiveControls/id/ActiveHyperLink.page +++ b/demos/quickstart/protected/pages/ActiveControls/id/ActiveHyperLink.page @@ -1,10 +1,9 @@ <com:TContent ID="body">
-<!-- $Id: ActiveHyperLink.page 1650 2007-01-24 06:55:32Z wei $ -->
<h1 id="ActiveHyperLink">TActiveHyperLink</h1>
<com:DocLink ClassPath="System.Web.UI.ActiveControls.TActiveHyperLink" />
<p>
-Kontrol aktif selain komponen <a href=?page=Controls.HyperLink">THyperLink</a>.
+Kontrol aktif selain komponen <a href="?page=Controls.HyperLink">THyperLink</a>.
Saat permintaan callback, perubahan terhadap properti <tt>Text</tt>, <tt>ImageUrl</tt>,
<tt>NavigateUrl</tt> dan <tt>Target</tt> pada sisi server juga akan
mengubah atribut serta konten terkait di sisi-klien.
@@ -12,4 +11,4 @@ mengubah atribut serta konten terkait di sisi-klien. <com:RunBar PagePath="ActiveControls.Samples.TActiveHyperLink.Home" />
-<div class="last-modified">$Id: ActiveHyperLink.page 1650 2007-01-24 06:55:32Z wei $</div></com:TContent>
\ No newline at end of file +</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/id/ActivePager.page b/demos/quickstart/protected/pages/ActiveControls/id/ActivePager.page index 1bf2b92f..f61701f2 100644 --- a/demos/quickstart/protected/pages/ActiveControls/id/ActivePager.page +++ b/demos/quickstart/protected/pages/ActiveControls/id/ActivePager.page @@ -1,40 +1,40 @@ -<com:TContent ID="body" >
-
-<h1 id="3901">TActivePager</h1>
-<com:DocLink ClassPath="System.Web.UI.WebControls.TPager" />
-
-<p id="450300" class="block-content">
+<com:TContent ID="body" > + +<h1 id="3901">TActivePager</h1> +<com:DocLink ClassPath="System.Web.UI.WebControls.TPager" /> + +<p id="450300" class="block-content"> <tt>TActivePager</tt> membuat halaman yang menyediakan UI untuk pengguna-akhir secara interaktif menetapkan halaman data mana yang di render dalam kontrol turunan <tt>TDataBoundControl</tt>, seperti <tt>TDataList</tt>, <tt>TRepeater</tt>, <tt>TCheckBoxList</tt>, dll. -Target kontrol data-bound ditetapkan dengan properti <tt>ControlToPaginate</tt>, yang harus berupa path ID dari kontrol target yang diambil dari kontainer penamaan halaman. Target-databound harus berada di dalam <tt>TActivePanel</tt> agar dapat di render ulang selama callback
-</p>
-
-<p id="450301" class="block-content">
-Catatan, kontrol target data-bound harus disetel true pada <tt>AllowPaging</tt>. Sebaliknya halaman tidak akan terlihat. Juga, dalam hal ketika hanya satu halaman data yang tersedia, halaman juga tidak akan terlihat.
-</p>
-
-<p id="450302" class="block-content">
-<tt>TActivePager</tt> dapat menampilkan salah satu dari tiga jenis antarmuka, ditetapkan melalui properti <tt>Mode</tt>:
-</p>
-<ul id="u1" class="block-content">
-<li><tt>NextPrev</tt> - tombol halaman berikutnya dan sebelumnya yang dihasilkan pada setiap halaman.</li>
-<li><tt>Numeric</tt> - daftar tombol indeks halaman yang dihasilkan.</li>
-<li><tt>DropDownList</tt> - daftar dropdown indeks halaman yang dihasilkan.</li>
-</ul>
-<p id="450303" class="block-content">
-Antar muka pengguna ini selanjutnya dikustomisasi dengan mengkonfigurasi properti berikut
-</p>
-<ul id="u2" class="block-content">
-<li><tt>NextPageText</tt> dan <tt>PrevPageText</tt> - label tombol halaman berikutnya/sebelumnya. Properti ini dipakai saat <tt>Mode</tt> halaman adalah <tt>NextPrev</tt> atau <tt>Numeric</tt>.</li>
-<li><tt>FirstPageText</tt> dan <tt>LastPageText</tt> - label tombol halaman pertama/terakhir. Jika kosong, tombol terkait tidak akan ditampilkan. Properti ini dipakai saat <tt>Mode</tt> halaman adalah <tt>NextPrev</tt> atau <tt>Numeric</tt>.</li>
-<li><tt>PageButtonCount</tt> - jumlah maksimum tombol indeks pada halaman. Properti ini dipakai saat <tt>Mode</tt> halaman adalah <tt>Numeric</tt>.</li>
-<li><tt>ButtonType</tt> - jenis tombol halaman, baik <tt>PushButton</tt> yang berarti tombol submisi formulir normal, ataupun <tt>LinkButton</tt> yang berarti tombol hiperlink.</li>
-</ul>
-
-<p id="450304" class="block-content">
+Target kontrol data-bound ditetapkan dengan properti <tt>ControlToPaginate</tt>, yang harus berupa path ID dari kontrol target yang diambil dari kontainer penamaan halaman. Target-databound harus berada di dalam <tt>TActivePanel</tt> agar dapat di render ulang selama callback +</p> + +<p id="450301" class="block-content"> +Catatan, kontrol target data-bound harus disetel true pada <tt>AllowPaging</tt>. Sebaliknya halaman tidak akan terlihat. Juga, dalam hal ketika hanya satu halaman data yang tersedia, halaman juga tidak akan terlihat. +</p> + +<p id="450302" class="block-content"> +<tt>TActivePager</tt> dapat menampilkan salah satu dari tiga jenis antarmuka, ditetapkan melalui properti <tt>Mode</tt>: +</p> +<ul id="u1" class="block-content"> +<li><tt>NextPrev</tt> - tombol halaman berikutnya dan sebelumnya yang dihasilkan pada setiap halaman.</li> +<li><tt>Numeric</tt> - daftar tombol indeks halaman yang dihasilkan.</li> +<li><tt>DropDownList</tt> - daftar dropdown indeks halaman yang dihasilkan.</li> +</ul> +<p id="450303" class="block-content"> +Antar muka pengguna ini selanjutnya dikustomisasi dengan mengkonfigurasi properti berikut +</p> +<ul id="u2" class="block-content"> +<li><tt>NextPageText</tt> dan <tt>PrevPageText</tt> - label tombol halaman berikutnya/sebelumnya. Properti ini dipakai saat <tt>Mode</tt> halaman adalah <tt>NextPrev</tt> atau <tt>Numeric</tt>.</li> +<li><tt>FirstPageText</tt> dan <tt>LastPageText</tt> - label tombol halaman pertama/terakhir. Jika kosong, tombol terkait tidak akan ditampilkan. Properti ini dipakai saat <tt>Mode</tt> halaman adalah <tt>NextPrev</tt> atau <tt>Numeric</tt>.</li> +<li><tt>PageButtonCount</tt> - jumlah maksimum tombol indeks pada halaman. Properti ini dipakai saat <tt>Mode</tt> halaman adalah <tt>Numeric</tt>.</li> +<li><tt>ButtonType</tt> - jenis tombol halaman, baik <tt>PushButton</tt> yang berarti tombol submisi formulir normal, ataupun <tt>LinkButton</tt> yang berarti tombol hiperlink.</li> +</ul> + +<p id="450304" class="block-content"> <tt>TActivePager</tt> memunculkan event <tt>OnPageIndexChanged</tt> ketika pengguna-akhir berinteraksi dengannya dan menetapkan halaman baru (misalnya dengan mengklik pada tombol halaman berikutnya yang akan membawa ke halaman berikutnya.) Para pengembang dapat menulis pengendali untuk merespon indeks halaman baru ini dan mendapatkan indeks halaman baru yang diinginkan dari properti parameter event <tt>NewPageIndex</tt>. Menggunakan indeks halaman baru ini, seseorang dapat memask halaman baru data ke kontrol data-bound terkait. -Sebagai tambahan, <tt>TActivePager</tt> memunculkan <tt>OnCallback</tt> setelah <tt>OnPageIndexChanged</tt>.
-</p>
-
-<com:RunBar PagePath="ActiveControls.Samples.TActivePager.Home" />
-
-<div class="last-modified">$Id: Pager.page 1650 2007-01-24 06:55:32Z wei $</div></com:TContent>
\ No newline at end of file +Sebagai tambahan, <tt>TActivePager</tt> memunculkan <tt>OnCallback</tt> setelah <tt>OnPageIndexChanged</tt>. +</p> + +<com:RunBar PagePath="ActiveControls.Samples.TActivePager.Home" /> + +</com:TContent> diff --git a/demos/quickstart/protected/pages/ActiveControls/id/Home.page b/demos/quickstart/protected/pages/ActiveControls/id/Home.page index 60ca140e..af449d7a 100644 --- a/demos/quickstart/protected/pages/ActiveControls/id/Home.page +++ b/demos/quickstart/protected/pages/ActiveControls/id/Home.page @@ -1,348 +1,347 @@ -<com:TContent ID="body" >
-<!-- $Id: Home.page 1650 2007-01-24 06:55:32Z wei $ -->
-<h1 id="128031">Kontrol Aktif (kontrol AJAX-dihidupkan)</h1>
-<p id="640423" class="block-content">Lihat <a href="?page=ActiveControls.Introduction">Pengenalan</a>
-untuk tinjauan cepat terhadap konsep di belakang kontrol aktif (kontrol AJAX-dihidupkan).
-Banyak kontrol aktif memiliki properti
-<a href="?page=ActiveControls.BaseActiveControl">ActiveControl</a> dan
-sub-properti <a href="?page=ActiveControls.CallbackClientSide">ClientSide</a>
-yang menyediakan banyak properti untuk mengkustomisasi kontrol. Properti
-<a href="?page=TCallbackClientScript">CallbackClient</a> dari kelas
-<tt>TPage</tt> menyediakan metode untuk memutakhirkan dan mengubah konten sisi-klien
-saat permintaan callback. Kontrol aktif bergantung pada koleksi
-<a href="?page=ActiveControl.ClientSideJavascript">kelas javascript</a>.
-</p>
-
-<p id="640424" class="block-content">Untuk demo cepat atas kontrol aktif, coba kontrol <a href="?page=ActiveControls.ActiveButton">
-TActiveButton</a>. Lihat juga bagian akhir dari tutorial <a href="?page=Tutorial.CurrencyConverter">Pengubah Kurs</a> untuk contoh lebih mendalam.
-</p>
-
-<p id="640425" class="block-content">* tutorial untuk kontrol ini belum lengkap.</p>
-
-<h2 id="128032">Kontrol Aktif Standar</h2>
-<ul id="u1" class="block-content">
- <li>
- <a href="?page=ActiveControls.ActiveButton">TActiveButton</a>
- mewakili tombol klik pada halaman Web. Ia dapat dipakai untuk memicu permintaan callback.
- </li>
-
- <li>
- <a href="?page=ActiveControls.ActiveCheckBox">TActiveCheckBox</a>
- mewakili kotak centang pada halaman Web. Ia dapat dipakai untuk mengoleksi input dua-kondisi pengguna
- serta memicu permintaan callback.
- </li>
-
- <li>
- <a href="?page=ActiveControls.ActiveCustomValidator">TActiveCustomValidator</a>
- memvalidasi kontrol tertentu menggunakan permintaan callback.
- </li>
-
- <li>
- <a href="?page=ActiveControls.ActiveHyperLink">TActiveHyperLink</a>
- mewakili hiperlink pada halaman Web.
- </li>
-
- <li>
- * <a href="?page=ActiveControls.ActiveImage">TActiveImage</a>
- mewakili gambar pada halaman Web.
- </li>
-
- <li>
- * <a href="?page=ActiveControls.ActiveImageButton">TActiveImageButton</a>
- mewakili tombol klik yang mempunyai gambar sebagai latar belakangnya.
- Ia bisa dipakai untuk memicu permintaan callback.
- </li>
-
- <li>
- * <a href="?page=ActiveControls.ActiveLabel">TActiveLabel</a>
- mewakili label pada halam Web.
- Label dapat dikustomisasi melalui berbagai atribut CSS.
- </li>
-
- <li>
- * <a href="?page=ActiveControls.ActiveLinkButton">TActiveLinkButton</a>
- mewakili hiperlink yang bisa melalukan permintaan callback.
- </li>
-
- <li>
- * <a href="?page=ActiveControls.ActivePanel">TActivePanel</a>
- mewakili penampung untuk kontrol lain pada halaman Web. Dalam HTML,
- ia ditampilkan sebagai elemen <div>. Kontrol pabel dapat
- diganti selama permintaan callback.
- </li>
-
- <li>
- * <a href="?page=ActiveControls.ActiveRadioButton">TActiveRadioButton</a>
- mewakili tombol radio pada halaman Web.
- Dipakai terutama dalam sebuah grup di mana pengguna bisa memilih. Ini
- dapat digunakan untuk melakukan permintaan callback.
- </li>
-
- <li>
- * <a href="?page=ActiveControls.ActiveTextBox">TActiveTextBox</a>
- mewakili field input teks pada halaman Web.
- Ia bisa mengoleksi satu-baris, multi-baris atau input teks sandi dari pengguna.
- Ia bisa dipakai untuk melakukan permintaan callback.
- </li>
-
- <li>
- * <a href="?page=ActiveControls.CallbackOptions">TCallbackOptions</a>
- opsi callback seperti pengendali event sisi-klien <tt>OnLoading</tt>.
- </li>
-
-</ul>
-
-<h2 id="128033">Kontrol List Aktif</h2>
-<ul id="u2" class="block-content">
- <li>
- * <a href="?page=ActiveControls.ActiveCheckBoxList">TActiveCheckBoxList</a>
- menampilkan daftar kotak centang pada halaman Web dan setiap kotak centang
- dapat memicu permintaan callback.
- </li>
-
- <li>
- * <a href="?page=ActiveControls.ActiveDropDownList">TActiveDropDownList</a>
- menampilkan kotak daftar dropdown yang membolehkan para pengguna untuk memilih
- satu opsi dari beberapa yang telah ditetapkan. Dapat dipakai untuk melakukan
- permintaan callback.
- </li>
-
- <li>
- * <a href="?page=ActiveControls.ActiveListBox">TActiveListBox</a>
- menampilkan kotak daftar yang membolehkan satu pilihan atau multipel. Dapat
- dipakai untuk melakukan permintaan callback.
- </li>
-
- <li>
- * <a href="?page=ActiveControls.ActiveRadioButtonList">TActiveRadioButtonList</a>
- mirip dengan TActiveCheckBoxList dalam setiap aspek kecuali bahwa setiap
- TActiveRadioButtonList menampilkan sebuah grup tombol radio. Setiap tombol radio
- dapat melakukan permintaan callback.
- </li>
-</ul>
-
-<h2 id="128034">Kontrol Aktif Diperluas</h2>
-
-
-<ul id="u3" class="block-content">
- <li>
- * <a href="?page=ActiveControls.AutoComplete">TAutoComplete</a>
- memperluas TActiveTextBox untuk menawarkan saran pelengkapan teks.
- </li>
-
- <li>
- * <a href="?page=ActiveControls.Callback">TCallback</a>
- kontrol generik yang dapat melakukan permintaan callback.
- </li>
-
- <li>
- * <a href="?page=ActiveControls.EventTriggeredCallback">TEventTriggeredCallback</a>
- memicu permintaan callback berdasarkan event DOM HTML.
- </li>
-
- <li>
- * <a href="?page=ActiveControls.InPlaceTextBox">TInPlaceTextBox</a>
- mewakili label yang dapat diedit dengen mengklik.
- </li>
-
- <li>
- * <a href="?page=ActiveControls.TimeTriggeredCallback">TTimeTriggeredCallback</a>
- memicu permintaan callback berdasarkan waktu yang belalu.
- </li>
-
- <li>
- * <a href="?page=ActiveControls.ValueTriggeredCallback">TValueTriggeredCallback</a>
- mengawasi (menggunakan timer) atribut elemen HTML dan memicu permintaan callback
- ketika nilai atribut berubah.
- </li>
-
-</ul>
-
-<h2 id="128035">Kemampuan Kontrol Aktif</h2>
-<p id="640426" class="block-content">Tabel berikut memperlihatkan Kontrol Aktif yang dapat memicu event callback dan menentukan apakah kontrol akan memunculkan event PostBack atau tidak jika Javascript dimatikan pada browser sisi-klien.</p>
-<!-- tabular: align=|l|l|l|, width=(0.35 0.25 0.25) -->
-<table class="tabular">
- <tr>
- <th>Nama Kontrol</th>
- <th>Memicu Callback</th>
- <th>Kembali ke PostBack</th>
- </tr>
- <tr><td>
- <a href="?page=ActiveControls.ActiveButton">TActiveButton</a>
- </td>
- <td>Ya</td>
- <td>Ya</td>
- </tr>
-
- <tr><td>
- <a href="?page=ActiveControls.ActiveCheckBox">TActiveCheckBox</a>
- </td>
- <td>Ya</td>
- <td>Ya</td>
- </tr>
-
- <tr><td>
- <a href="?page=ActiveControls.ActiveCustomValidator">TActiveCustomValidator</a>
- </td>
- <td>Ya</td>
- <td>Ya</td>
- </tr>
-
- <tr><td>
- <a href="?page=ActiveControls.ActiveHyperLink">TActiveHyperLink</a>
- </td>
- <td>Tidak</td><td>Ya</td>
- </tr>
-
- <tr><td>
- <a href="?page=ActiveControls.ActiveImage">TActiveImage</a>
- </td>
- <td>Tidak</td><td>Ya</td>
- </tr>
-
- <tr><td>
- <a href="?page=ActiveControls.ActiveImageButton">TActiveImageButton</a>
- </td>
- <td>Ya</td><td>Ya</td>
- </tr>
-
- <tr><td>
- <a href="?page=ActiveControls.ActiveLabel">TActiveLabel</a>
- </td>
- <td>Tidak</td><td>Ya</td>
- </tr>
-
- <tr><td>
- <a href="?page=ActiveControls.ActiveLinkButton">TActiveLinkButton</a>
- </td>
- <td>Ya</td><td>Tidak</td>
- </tr>
-
- <tr><td>
- <a href="?page=ActiveControls.ActivePanel">TActivePanel</a>
- </td>
- <td>Tidak</td><td>Ya</td>
- </tr>
-
- <tr><td>
- <a href="?page=ActiveControls.ActiveRadioButton">TActiveRadioButton</a>
- </td>
- <td>Ya</td><td>Ya</td>
- </tr>
-
- <tr><td>
- <a href="?page=ActiveControls.ActiveTextBox">TActiveTextBox</a>
- </td>
- <td>Ya</td><td>Ya</td>
- </tr>
-
- <tr><td>
- <a href="?page=ActiveControls.CallbackOptions">TCallbackOptions</a>
- </td>
- <td>Tidak</td><td>N/A</td>
- </tr>
-
-
- <tr><td>
- <a href="?page=ActiveControls.ActiveCheckBoxList">TActiveCheckBoxList</a>
- </td>
- <td>Ya</td><td>Ya</td>
- </tr>
-
- <tr><td>
- <a href="?page=ActiveControls.ActiveDropDownList">TActiveDropDownList</a>
- </td>
- <td>Ya</td><td>Ya</td>
- </tr>
-
- <tr><td>
- <a href="?page=ActiveControls.ActiveListBox">TActiveListBox</a>
- </td>
- <td>Ya</td><td>Ya</td>
- </tr>
-
- <tr><td>
- <a href="?page=ActiveControls.ActiveRadioButtonList">TActiveRadioButtonList</a>
- </td>
- <td>Ya</td><td>Ya</td>
- </tr>
-
- <tr><td>
- <a href="?page=ActiveControls.AutoComplete">TAutoComplete</a>
- </td>
- <td>Ya</td>
- <td>Tidak</td>
- </tr>
-
- <tr><td>
- <a href="?page=ActiveControls.Callback">TCallback</a>
- </td>
- <td>Ya</td><td>Tidak</td>
- </tr>
-
- <tr><td>
- <a href="?page=ActiveControls.EventTriggeredCallback">TEventTriggeredCallback</a>
- </td>
- <td>Ya</td><td>Tidak</td>
- </tr>
-
- <tr><td>
- <a href="?page=ActiveControls.InPlaceTextBox">TInPlaceTextBox</a>
- </td>
- <td>Ya</td><td>Tidak</td>
- </tr>
-
- <tr><td>
- <a href="?page=ActiveControls.TimeTriggeredCallback">TTimeTriggeredCallback</a>
- </td>
- <td>Ya</td><td>Tidak</td>
- </tr>
-
- <tr><td>
- <a href="?page=ActiveControls.ValueTriggeredCallback">TValueTriggeredCallback</a>
- </td>
- <td>Ya</td><td>Tidak</td>
- </tr>
-</table>
-
-<h2 id="128036">Kelas Infrastruktur Kontrol Aktif</h2>
-<p id="640427" class="block-content">Kelas berikut menyediakan kelas infrastruktur dasar yang diperlukan guna merealisasikan kontrol aktif.</p>
-<ul id="u4" class="block-content">
- <li>
- * <a href="?page=ActiveControls.ActiveControlAdapter">TActiveControlAdapter</a>
- melacak nilai viewstate dari kontrol dan memutakhirkan perbedaan pada atribut elemen HTML sisi-klien.
- </li>
-
- <li>
- * <a href="?page=ActiveControls.ActiveListControlAdapter">TActiveListControlAdapter</a>
- membolehkan kontrol list yang diadaptasi untuk mengubah pilihan pada sisi-klien selama permintaan callback.
- </li>
-
- <li>
- * <a href="?page=ActiveControls.ActivePageAdapter">TActivePageAdapter</a>
- memroses masa-hidup halaman untuk permintaan callback.
- </li>
-
- <li>
- * <a href="?page=ActiveControls.BaseActiveControl">TBaseActiveControl</a>
- metode dan opsi kontrol aktif umum.
- </li>
-
- <li>
- * <a href="?page=ActiveControls.CallbackClientScript">TCallbackClientScript</a>
- metode untuk memanipulasi elemen HTML sisi-klien, juga termasuk metode untuk memanggil Efek javascript pada elemen HTML.
- </li>
-
- <li>
- * <a href="?page=ActiveControls.CallbackClientSide">TCallbackClientSide</a>
- opsi permintaan callback sisi-klien, dan pengendali event sisi-klien.
- </li>
-
- <li>
- * <a href="?page=ActiveControls.CallbackResponseAdapter">TCallbackResponseAdapter</a>
- respon HTTP untuk permintaan callback.
- </li>
-
-</ul>
-
-<div class="last-modified">$Id: Home.page 1650 2007-01-24 06:55:32Z wei $</div></com:TContent>
\ No newline at end of file +<com:TContent ID="body" > +<h1 id="128031">Kontrol Aktif (kontrol AJAX-dihidupkan)</h1> +<p id="640423" class="block-content">Lihat <a href="?page=ActiveControls.Introduction">Pengenalan</a> +untuk tinjauan cepat terhadap konsep di belakang kontrol aktif (kontrol AJAX-dihidupkan). +Banyak kontrol aktif memiliki properti +<a href="?page=ActiveControls.BaseActiveControl">ActiveControl</a> dan +sub-properti <a href="?page=ActiveControls.CallbackClientSide">ClientSide</a> +yang menyediakan banyak properti untuk mengkustomisasi kontrol. Properti +<a href="?page=TCallbackClientScript">CallbackClient</a> dari kelas +<tt>TPage</tt> menyediakan metode untuk memutakhirkan dan mengubah konten sisi-klien +saat permintaan callback. Kontrol aktif bergantung pada koleksi +<a href="?page=ActiveControl.ClientSideJavascript">kelas javascript</a>. +</p> + +<p id="640424" class="block-content">Untuk demo cepat atas kontrol aktif, coba kontrol <a href="?page=ActiveControls.ActiveButton"> +TActiveButton</a>. Lihat juga bagian akhir dari tutorial <a href="?page=Tutorial.CurrencyConverter">Pengubah Kurs</a> untuk contoh lebih mendalam. +</p> + +<p id="640425" class="block-content">* tutorial untuk kontrol ini belum lengkap.</p> + +<h2 id="128032">Kontrol Aktif Standar</h2> +<ul id="u1" class="block-content"> + <li> + <a href="?page=ActiveControls.ActiveButton">TActiveButton</a> + mewakili tombol klik pada halaman Web. Ia dapat dipakai untuk memicu permintaan callback. + </li> + + <li> + <a href="?page=ActiveControls.ActiveCheckBox">TActiveCheckBox</a> + mewakili kotak centang pada halaman Web. Ia dapat dipakai untuk mengoleksi input dua-kondisi pengguna + serta memicu permintaan callback. + </li> + + <li> + <a href="?page=ActiveControls.ActiveCustomValidator">TActiveCustomValidator</a> + memvalidasi kontrol tertentu menggunakan permintaan callback. + </li> + + <li> + <a href="?page=ActiveControls.ActiveHyperLink">TActiveHyperLink</a> + mewakili hiperlink pada halaman Web. + </li> + + <li> + <a href="?page=ActiveControls.ActiveImage">TActiveImage</a> + mewakili gambar pada halaman Web. + </li> + + <li> + <a href="?page=ActiveControls.ActiveImageButton">TActiveImageButton</a> + mewakili tombol klik yang mempunyai gambar sebagai latar belakangnya. + Ia bisa dipakai untuk memicu permintaan callback. + </li> + + <li> + <a href="?page=ActiveControls.ActiveLabel">TActiveLabel</a> + mewakili label pada halam Web. + Label dapat dikustomisasi melalui berbagai atribut CSS. + </li> + + <li> + <a href="?page=ActiveControls.ActiveLinkButton">TActiveLinkButton</a> + mewakili hiperlink yang bisa melalukan permintaan callback. + </li> + + <li> + <a href="?page=ActiveControls.ActivePanel">TActivePanel</a> + mewakili penampung untuk kontrol lain pada halaman Web. Dalam HTML, + ia ditampilkan sebagai elemen <div>. Kontrol pabel dapat + diganti selama permintaan callback. + </li> + + <li> + <a href="?page=ActiveControls.ActiveRadioButton">TActiveRadioButton</a> + mewakili tombol radio pada halaman Web. + Dipakai terutama dalam sebuah grup di mana pengguna bisa memilih. Ini + dapat digunakan untuk melakukan permintaan callback. + </li> + + <li> + <a href="?page=ActiveControls.ActiveTextBox">TActiveTextBox</a> + mewakili field input teks pada halaman Web. + Ia bisa mengoleksi satu-baris, multi-baris atau input teks sandi dari pengguna. + Ia bisa dipakai untuk melakukan permintaan callback. + </li> + + <li> + <a href="?page=ActiveControls.CallbackOptions">TCallbackOptions</a> + opsi callback seperti pengendali event sisi-klien <tt>OnLoading</tt>. + </li> + +</ul> + +<h2 id="128033">Kontrol List Aktif</h2> +<ul id="u2" class="block-content"> + <li> + <a href="?page=ActiveControls.ActiveCheckBoxList">TActiveCheckBoxList</a> + menampilkan daftar kotak centang pada halaman Web dan setiap kotak centang + dapat memicu permintaan callback. + </li> + + <li> + <a href="?page=ActiveControls.ActiveDropDownList">TActiveDropDownList</a> + menampilkan kotak daftar dropdown yang membolehkan para pengguna untuk memilih + satu opsi dari beberapa yang telah ditetapkan. Dapat dipakai untuk melakukan + permintaan callback. + </li> + + <li> + <a href="?page=ActiveControls.ActiveListBox">TActiveListBox</a> + menampilkan kotak daftar yang membolehkan satu pilihan atau multipel. Dapat + dipakai untuk melakukan permintaan callback. + </li> + + <li> + <a href="?page=ActiveControls.ActiveRadioButtonList">TActiveRadioButtonList</a> + mirip dengan TActiveCheckBoxList dalam setiap aspek kecuali bahwa setiap + TActiveRadioButtonList menampilkan sebuah grup tombol radio. Setiap tombol radio + dapat melakukan permintaan callback. + </li> +</ul> + +<h2 id="128034">Kontrol Aktif Diperluas</h2> + + +<ul id="u3" class="block-content"> + <li> + <a href="?page=ActiveControls.AutoComplete">TAutoComplete</a> + memperluas TActiveTextBox untuk menawarkan saran pelengkapan teks. + </li> + + <li> + <a href="?page=ActiveControls.Callback">TCallback</a> + kontrol generik yang dapat melakukan permintaan callback. + </li> + + <li> + <a href="?page=ActiveControls.EventTriggeredCallback">TEventTriggeredCallback</a> + memicu permintaan callback berdasarkan event DOM HTML. + </li> + + <li> + <a href="?page=ActiveControls.InPlaceTextBox">TInPlaceTextBox</a> + mewakili label yang dapat diedit dengen mengklik. + </li> + + <li> + * <a href="?page=ActiveControls.TimeTriggeredCallback">TTimeTriggeredCallback</a> + memicu permintaan callback berdasarkan waktu yang belalu. + </li> + + <li> + * <a href="?page=ActiveControls.ValueTriggeredCallback">TValueTriggeredCallback</a> + mengawasi (menggunakan timer) atribut elemen HTML dan memicu permintaan callback + ketika nilai atribut berubah. + </li> + +</ul> + +<h2 id="128035">Kemampuan Kontrol Aktif</h2> +<p id="640426" class="block-content">Tabel berikut memperlihatkan Kontrol Aktif yang dapat memicu event callback dan menentukan apakah kontrol akan memunculkan event PostBack atau tidak jika Javascript dimatikan pada browser sisi-klien.</p> +<!-- tabular: align=|l|l|l|, width=(0.35 0.25 0.25) --> +<table class="tabular"> + <tr> + <th>Nama Kontrol</th> + <th>Memicu Callback</th> + <th>Kembali ke PostBack</th> + </tr> + <tr><td> + <a href="?page=ActiveControls.ActiveButton">TActiveButton</a> + </td> + <td>Ya</td> + <td>Ya</td> + </tr> + + <tr><td> + <a href="?page=ActiveControls.ActiveCheckBox">TActiveCheckBox</a> + </td> + <td>Ya</td> + <td>Ya</td> + </tr> + + <tr><td> + <a href="?page=ActiveControls.ActiveCustomValidator">TActiveCustomValidator</a> + </td> + <td>Ya</td> + <td>Ya</td> + </tr> + + <tr><td> + <a href="?page=ActiveControls.ActiveHyperLink">TActiveHyperLink</a> + </td> + <td>Tidak</td><td>Ya</td> + </tr> + + <tr><td> + <a href="?page=ActiveControls.ActiveImage">TActiveImage</a> + </td> + <td>Tidak</td><td>Ya</td> + </tr> + + <tr><td> + <a href="?page=ActiveControls.ActiveImageButton">TActiveImageButton</a> + </td> + <td>Ya</td><td>Ya</td> + </tr> + + <tr><td> + <a href="?page=ActiveControls.ActiveLabel">TActiveLabel</a> + </td> + <td>Tidak</td><td>Ya</td> + </tr> + + <tr><td> + <a href="?page=ActiveControls.ActiveLinkButton">TActiveLinkButton</a> + </td> + <td>Ya</td><td>Tidak</td> + </tr> + + <tr><td> + <a href="?page=ActiveControls.ActivePanel">TActivePanel</a> + </td> + <td>Tidak</td><td>Ya</td> + </tr> + + <tr><td> + <a href="?page=ActiveControls.ActiveRadioButton">TActiveRadioButton</a> + </td> + <td>Ya</td><td>Ya</td> + </tr> + + <tr><td> + <a href="?page=ActiveControls.ActiveTextBox">TActiveTextBox</a> + </td> + <td>Ya</td><td>Ya</td> + </tr> + + <tr><td> + <a href="?page=ActiveControls.CallbackOptions">TCallbackOptions</a> + </td> + <td>Tidak</td><td>N/A</td> + </tr> + + + <tr><td> + <a href="?page=ActiveControls.ActiveCheckBoxList">TActiveCheckBoxList</a> + </td> + <td>Ya</td><td>Ya</td> + </tr> + + <tr><td> + <a href="?page=ActiveControls.ActiveDropDownList">TActiveDropDownList</a> + </td> + <td>Ya</td><td>Ya</td> + </tr> + + <tr><td> + <a href="?page=ActiveControls.ActiveListBox">TActiveListBox</a> + </td> + <td>Ya</td><td>Ya</td> + </tr> + + <tr><td> + <a href="?page=ActiveControls.ActiveRadioButtonList">TActiveRadioButtonList</a> + </td> + <td>Ya</td><td>Ya</td> + </tr> + + <tr><td> + <a href="?page=ActiveControls.AutoComplete">TAutoComplete</a> + </td> + <td>Ya</td> + <td>Tidak</td> + </tr> + + <tr><td> + <a href="?page=ActiveControls.Callback">TCallback</a> + </td> + <td>Ya</td><td>Tidak</td> + </tr> + + <tr><td> + <a href="?page=ActiveControls.EventTriggeredCallback">TEventTriggeredCallback</a> + </td> + <td>Ya</td><td>Tidak</td> + </tr> + + <tr><td> + <a href="?page=ActiveControls.InPlaceTextBox">TInPlaceTextBox</a> + </td> + <td>Ya</td><td>Tidak</td> + </tr> + + <tr><td> + <a href="?page=ActiveControls.TimeTriggeredCallback">TTimeTriggeredCallback</a> + </td> + <td>Ya</td><td>Tidak</td> + </tr> + + <tr><td> + <a href="?page=ActiveControls.ValueTriggeredCallback">TValueTriggeredCallback</a> + </td> + <td>Ya</td><td>Tidak</td> + </tr> +</table> + +<h2 id="128036">Kelas Infrastruktur Kontrol Aktif</h2> +<p id="640427" class="block-content">Kelas berikut menyediakan kelas infrastruktur dasar yang diperlukan guna merealisasikan kontrol aktif.</p> +<ul id="u4" class="block-content"> + <li> + <a href="?page=ActiveControls.ActiveControlAdapter">TActiveControlAdapter</a> + melacak nilai viewstate dari kontrol dan memutakhirkan perbedaan pada atribut elemen HTML sisi-klien. + </li> + + <li> + <a href="?page=ActiveControls.ActiveListControlAdapter">TActiveListControlAdapter</a> + membolehkan kontrol list yang diadaptasi untuk mengubah pilihan pada sisi-klien selama permintaan callback. + </li> + + <li> + <a href="?page=ActiveControls.ActivePageAdapter">TActivePageAdapter</a> + memroses masa-hidup halaman untuk permintaan callback. + </li> + + <li> + <a href="?page=ActiveControls.BaseActiveControl">TBaseActiveControl</a> + metode dan opsi kontrol aktif umum. + </li> + + <li> + <a href="?page=ActiveControls.CallbackClientScript">TCallbackClientScript</a> + metode untuk memanipulasi elemen HTML sisi-klien, juga termasuk metode untuk memanggil Efek javascript pada elemen HTML. + </li> + + <li> + <a href="?page=ActiveControls.CallbackClientSide">TCallbackClientSide</a> + opsi permintaan callback sisi-klien, dan pengendali event sisi-klien. + </li> + + <li> + <a href="?page=ActiveControls.CallbackResponseAdapter">TCallbackResponseAdapter</a> + respon HTTP untuk permintaan callback. + </li> + +</ul> + +</com:TContent> |