summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.page
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.page')
-rw-r--r--tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.page11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.page b/tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.page
index 6d2168be..85bc2716 100644
--- a/tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.page
+++ b/tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.page
@@ -39,24 +39,35 @@
ID="textbox1"
OnSuggest="suggestCountries"
Separator=", "
+ OnSuggestionSelected="suggestion_selected"
ResultPanel.CssClass="autocomplete" />
<com:TAutoComplete Style="width: 30em; height: 20em" TextMode="MultiLine"
ID="textbox2"
OnSuggest="suggestCountries"
OnCallback="callback_requested"
+ OnSuggestionSelected="suggestion_selected"
+ TextCssClass="select"
AutoPostBack="true"
Separator=", \n"
ResultPanel.CssClass="autocomplete">
<prop:Suggestions.HeaderTemplate>
<ul class="different">
</prop:Suggestions.HeaderTemplate>
+ <prop:Suggestions.ItemTemplate>
+ <li>
+ &lt;&lt;
+ <span class="select"><%# $this->Data %></span>
+ &gt;&gt;
+ </li>
+ </prop:Suggestions.ItemTemplate>
</com:TAutoComplete>
<com:TAutoComplete Style="width: 20em"
id="textbox3"
OnSuggest="suggestCountries"
OnCallback="callback_requested"
+ OnSuggestionSelected="suggestion_selected"
Separator=", " AutoPostBack="true"
ResultPanel.CssClass="autocomplete" />