diff options
author | xue <> | 2006-04-16 17:51:39 +0000 |
---|---|---|
committer | xue <> | 2006-04-16 17:51:39 +0000 |
commit | a1ed7c2ad592b6fad8a0ec27f9714ec608cc3cc0 (patch) | |
tree | b7d5b48d9c0f632a5587375e89625d0074a40432 /tests/FunctionalTests/validators/protected/pages/ImageButton.page | |
parent | 2983057ad91ccdef1fef86a85fe8e888350c3384 (diff) |
Added FT for validators working with TButton, TLinkButton, TImageButton and TCheckBox.
Diffstat (limited to 'tests/FunctionalTests/validators/protected/pages/ImageButton.page')
-rw-r--r-- | tests/FunctionalTests/validators/protected/pages/ImageButton.page | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/tests/FunctionalTests/validators/protected/pages/ImageButton.page b/tests/FunctionalTests/validators/protected/pages/ImageButton.page new file mode 100644 index 00000000..d1fae361 --- /dev/null +++ b/tests/FunctionalTests/validators/protected/pages/ImageButton.page @@ -0,0 +1,37 @@ +<com:TContent ID="Content">
+<h1>Validations Triggered by TImageButton</h1>
+
+<com:TTextBox ID="TextBox1" />
+<com:TRequiredFieldValidator
+ Text="Textbox1 required"
+ ControlToValidate="TextBox1"
+ ValidationGroup="Group1" />
+<com:TImageButton ImageUrl="http://www.pradosoft.com/images/powered.gif"
+ ValidationGroup="Group1"
+ OnClick="button1Clicked" />
+<com:TLabel ID="Result1" />
+
+<hr/>
+
+<com:TTextBox ID="TextBox2" />
+<com:TRequiredFieldValidator
+ Text="Textbox2 required"
+ ControlToValidate="TextBox2" />
+<com:TImageButton ImageUrl="http://www.pradosoft.com/images/powered.gif"
+ OnClick="button2Clicked" />
+<com:TLabel ID="Result2" />
+
+<hr/>
+
+<com:TTextBox ID="TextBox3" />
+<com:TRequiredFieldValidator
+ Text="Textbox3 required"
+ EnableClientScript="false"
+ ControlToValidate="TextBox3"
+ ValidationGroup="Group3" />
+<com:TImageButton ImageUrl="http://www.pradosoft.com/images/powered.gif"
+ ValidationGroup="Group3"
+ OnClick="button3Clicked" />
+<com:TLabel ID="Result3" />
+
+</com:TContent>
\ No newline at end of file |