summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/protected/pages/Ticket719.page
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/tickets/protected/pages/Ticket719.page')
-rw-r--r--tests/FunctionalTests/tickets/protected/pages/Ticket719.page53
1 files changed, 53 insertions, 0 deletions
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket719.page b/tests/FunctionalTests/tickets/protected/pages/Ticket719.page
new file mode 100644
index 00000000..a64c5c55
--- /dev/null
+++ b/tests/FunctionalTests/tickets/protected/pages/Ticket719.page
@@ -0,0 +1,53 @@
+<com:TContent id="Content">
+<style>
+.autocomplete
+{
+ border:1px solid #919EA9;
+ background-color:white;
+ width: 20px;
+}
+.autocomplete ul, .autocomplete li
+{
+ margin: 0;
+ padding: 0;
+ list-style: none;
+ font-size: 12px;
+ font-family: Tahoma, Arial, Helvetica, sans-serif;
+ color: #333;
+}
+
+ul.different
+{
+ background-color: pink;
+}
+
+.autocomplete li
+{
+ padding: 4px;
+ border-top: 1px solid #ccc;
+}
+.autocomplete .selected
+{
+ background-color: #ffc;
+}
+</style>
+
+<p>
+ <com:TRequiredFieldValidator ControlToValidate="textbox"
+ ErrorMessage="Required" Display="Dynamic" />
+ <com:TTextBox id="textbox" />
+</p>
+<p>
+<com:TRequiredFieldValidator ControlToValidate="autocomplete"
+ ErrorMessage="Required"Display="Dynamic" />
+ <com:TAutoComplete Style="width: 20em" ID="autocomplete"
+ OnSuggest="suggestCountries" Separator=", "
+ OnSuggestionSelected="suggestion_selected"
+ ResultPanel.CssClass="autocomplete" CausesValidation="false" />
+
+</p>
+<p>
+ <com:TButton OnClick="validForm" Text="Validate Form" /><br/>
+ <com:TLabel id="Result" />
+</p>
+</com:TContent> \ No newline at end of file