summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.page
diff options
context:
space:
mode:
authorwei <>2006-06-17 10:28:26 +0000
committerwei <>2006-06-17 10:28:26 +0000
commit3a30ede1c03fdd097398b14734822f7ce8e46b6b (patch)
tree516537f9872da97f25a2187cf1880df65804014c /tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.page
parent649082a9eb89991189fafce8432c4fd266fac027 (diff)
Update TAutoComplete, OnSuggest event for getting suggestions.
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.page')
-rw-r--r--tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.page28
1 files changed, 26 insertions, 2 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.page b/tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.page
index 93658bd7..b7429c60 100644
--- a/tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.page
+++ b/tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.page
@@ -15,6 +15,11 @@
font-family: Tahoma, Arial, Helvetica, sans-serif;
color: #333;
}
+
+ ul.different
+ {
+ background-color: pink;
+ }
.autocomplete li
{
@@ -27,14 +32,33 @@
}
</style>
- <h1>TAutoComplete Test</h1>
+ <h1 id="heading">TAutoComplete Test</h1>
+ <div><strong>Manual Testing Required</strong></div>
<com:TAutoComplete Style="width: 20em"
- OnCallback="suggestCountries"
+ ID="textbox1"
+ OnSuggest="suggestCountries"
Separator=", "
ResultPanel.CssClass="autocomplete" />
+ <com:TAutoComplete Style="width: 30em; height: 20em" TextMode="MultiLine"
+ OnSuggest="suggestCountries"
+ Separator=", \n"
+ ResultPanel.CssClass="autocomplete">
+ <prop:Suggestions.HeaderTemplate>
+ <ul class="different">
+ </prop:Suggestions.HeaderTemplate>
+ </com:TAutoComplete>
+
+ <com:TAutoComplete Style="width: 20em"
+ id="textbox3"
+ OnSuggest="suggestCountries"
+ OnCallback="callback_requested"
+ Separator=", " AutoPostBack="true"
+ ResultPanel.CssClass="autocomplete" />
+
<p><br /></p>
+ <com:TActiveLabel ID="label1" Text="Label 1" />
<p><br /></p>
<p><br /></p>
<p><br /></p>