diff options
author | ctrlaltca@gmail.com <> | 2011-06-02 19:27:21 +0000 |
---|---|---|
committer | ctrlaltca@gmail.com <> | 2011-06-02 19:27:21 +0000 |
commit | 0daa38a4f5bb43d7332d681a98ccb693bc579230 (patch) | |
tree | 2b6435d1cdd4acddac1281aba120957ecc7cfe1a /demos/quickstart/protected/pages/ActiveControls/InPlaceTextBox.page | |
parent | 3490b6226263b05d980d040a8fbf933c23979ab6 (diff) |
further documentation updates: everything else plus some things that were not even listed. Only T*RatingList has been left out
Diffstat (limited to 'demos/quickstart/protected/pages/ActiveControls/InPlaceTextBox.page')
-rw-r--r-- | demos/quickstart/protected/pages/ActiveControls/InPlaceTextBox.page | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/demos/quickstart/protected/pages/ActiveControls/InPlaceTextBox.page b/demos/quickstart/protected/pages/ActiveControls/InPlaceTextBox.page new file mode 100644 index 00000000..2349d255 --- /dev/null +++ b/demos/quickstart/protected/pages/ActiveControls/InPlaceTextBox.page @@ -0,0 +1,42 @@ +<com:TContent ID="body" >
+
+<h1>TInPlaceTextBox</h1>
+<com:DocLink ClassPath="System.Web.UI.ActiveControls.TInPlaceTextBox" />
+
+<p class="block-content">
+<tt>TInPlaceTextBox</tt> is a component rendered as a label and allows its
+contents to be edited by changing the label to a textbox when
+the label is clicked or when another control or html element with
+ID given by <tt>EditTriggerControlID</tt> is clicked.
+</p>
+
+<p class="block-content">
+If the <tt>OnLoadingText</tt> event is handled, a callback request is
+made when the label is clicked, while the request is being made the
+textbox is disabled from editing. The <tt>OnLoadingText</tt> event allows
+you to update the content of the textbox before the client is allowed
+to edit the content. After the callback request returns successfully,
+the textbox is enabled and the contents is then allowed to be edited.
+</p>
+
+<p class="block-content">
+Once the textbox loses focus, if <tt>AutoPostBack</tt>
+is true and the textbox content has changed, a callback request is made and
+the <tt>OnTextChanged</tt> event is raised like that of the TActiveTextBox.
+During the request, the textbox is disabled.
+</p>
+
+<p class="block-content">
+After the callback request returns sucessfully, the textbox is enabled.
+If the <tt>AutoHideTextBox</tt> property is true, then
+the textbox will be hidden and the label is then shown.
+</p>
+
+<p class="block-content">
+Since 3.1.2, you can set the <tt>ReadOnly</tt> property to make
+the control not editable. This property can be also changed on callback
+</p>
+
+<com:RunBar PagePath="ActiveControls.Samples.TInPlaceTextBox.Home" />
+
+<div class="last-modified">$Id$</div></com:TContent>
\ No newline at end of file |