summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/ActiveControls/AutoComplete.page
diff options
context:
space:
mode:
authormikl <>2008-07-03 17:24:50 +0000
committermikl <>2008-07-03 17:24:50 +0000
commit09487ad04341c053ee3773a9371ddb00d1a29d66 (patch)
treecd5bd99a72ea6b7f9c7a4ff241cf45400ddcacc6 /demos/quickstart/protected/pages/ActiveControls/AutoComplete.page
parentdda2b12bff4859dcbd86334e7f65b101dba58166 (diff)
Added Autocomplete page to quickstart
Diffstat (limited to 'demos/quickstart/protected/pages/ActiveControls/AutoComplete.page')
-rw-r--r--demos/quickstart/protected/pages/ActiveControls/AutoComplete.page18
1 files changed, 18 insertions, 0 deletions
diff --git a/demos/quickstart/protected/pages/ActiveControls/AutoComplete.page b/demos/quickstart/protected/pages/ActiveControls/AutoComplete.page
new file mode 100644
index 00000000..14af4af7
--- /dev/null
+++ b/demos/quickstart/protected/pages/ActiveControls/AutoComplete.page
@@ -0,0 +1,18 @@
+<com:TContent ID="body">
+<!-- $Id$ -->
+<h1>TAutoComplete</h1>
+<com:DocLink ClassPath="System.Web.UI.ActiveControls.TAutoComplete" />
+
+<p class="block-content">
+<tt>TAutoComplete</tt> is an extended <tt>ActiveTextBox</tt> that provides a list of suggestions on the current partial word typed in the textbox. The suggestions are requested using callbacks. The <tt>Frequency</tt> and <tt>MinChars</tt> properties sets the delay and minimum number of characters typed, respectively, before requesting for sugggestions. An embedded <tt>TRepeater</tt> is used to Display the list of suggestions. It can be accessed and styled through the <tt>Suggestions</tt> property and its sub-properties.<p>
+
+<p class="block-content">
+On each request for suggestions, the <tt>OnSuggestion</tt> event will be raised. The event handler receives the entered token that can be used to build the list of suggestions and to dataBind() it to the <tt>Suggestions</tt> repeater.</p>
+
+<p class="block-content">
+When a suggestion is selected the <tt>OnSuggestionSelected</tt> event is raised, with the index of the selected suggestion contained in the parameter. Multiple selections can be performed in the same textbox. The selections must be separated by any characters specified with the <tt>Separator</tt> property.
+</p>
+
+<com:RunBar PagePath="ActiveControls.Samples.TAutoComplete.Home" />
+
+<div class="last-modified">$Id$</div></com:TContent>