summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/protected/pages/Validation/CheckBox.page
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/protected/pages/Validation/CheckBox.page')
-rw-r--r--tests/FunctionalTests/protected/pages/Validation/CheckBox.page37
1 files changed, 37 insertions, 0 deletions
diff --git a/tests/FunctionalTests/protected/pages/Validation/CheckBox.page b/tests/FunctionalTests/protected/pages/Validation/CheckBox.page
new file mode 100644
index 00000000..42241ca7
--- /dev/null
+++ b/tests/FunctionalTests/protected/pages/Validation/CheckBox.page
@@ -0,0 +1,37 @@
+<%@ Title="Basic TRequiredFieldValidator" %>
+<com:TContent ID="Content">
+<com:TForm>
+
+<h1>An AutoPostBack CheckBox</h1>
+
+<com:TCheckBox
+ AutoPostBack="true"
+ Text="Without ValidationGroup"
+ />
+<br/>
+<! Uncomment the following and see
+<com:TCheckBox
+ AutoPostBack="true"
+ Text="With ValidationGroup"
+ ValidationGroup="Group"
+ />
+<br/>
+<com:TCheckBox
+ AutoPostBack="true"
+ CausesValidation="false"
+ Text="CausesValidation=false"
+ />
+<br/>
+!>
+Input: <com:TTextBox ID="TextBox" />
+<com:TRequiredFieldValidator
+ ControlToValidate="TextBox"
+ Display="Dynamic"
+ ErrorMessage="input required in the textbox"
+ ValidationGroup="Group"
+ />
+<br/>
+<com:TJavascriptLogger />
+
+</com:TForm>
+</com:TContent> \ No newline at end of file