summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/protected/pages/Ticket671.page
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/tickets/protected/pages/Ticket671.page')
-rw-r--r--tests/FunctionalTests/tickets/protected/pages/Ticket671.page34
1 files changed, 34 insertions, 0 deletions
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket671.page b/tests/FunctionalTests/tickets/protected/pages/Ticket671.page
new file mode 100644
index 00000000..22c899f5
--- /dev/null
+++ b/tests/FunctionalTests/tickets/protected/pages/Ticket671.page
@@ -0,0 +1,34 @@
+<com:TContent ID="Content">
+
+<com:TActiveDropDownList id="addl" OnSelectedIndexChanged="SelectItem" ValidationGroup="Test1">
+ <com:TListItem Value="1" Text="Test 1"/>
+ <com:TListItem Value="2" Text="Test 2"/>
+ <com:TListItem Value="3" Text="Test 3"/>
+</com:TActiveDropDownList>
+<com:TActiveCustomValidator
+ ControlToValidate="addl"
+ ValidationGroup="Test1"
+ OnServerValidate="validateSelection"
+ Display="Dynamic"
+ ErrorMessage="Please Select Test 3"/>
+<com:TActiveLinkButton
+ Text="Submit"
+ OnClick="submit"
+ ValidationGroup="Test1" />
+<com:TActiveLabel id="lblResult"/>
+<br/><br/>
+<com:TActiveTextBox ID="testTextBox" ValidationGroup="Test2" />
+<com:TActiveCustomValidator
+ ControlToValidate="testTextBox"
+ ValidationGroup="Test2"
+ OnServerValidate="validateTextBox"
+ ErrorMessage="Please enter 'Prado' !"
+ Display="Dynamic"
+ />
+<com:TActiveLinkButton
+ Text="Validate"
+ ValidationGroup="Test2"
+ OnClick="submit2" />
+<com:TActiveLabel id="lblResult2"/>
+
+</com:TContent> \ No newline at end of file