summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/features/protected/pages/ActiveControls/ActiveControl.page
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/features/protected/pages/ActiveControls/ActiveControl.page')
-rw-r--r--tests/FunctionalTests/features/protected/pages/ActiveControls/ActiveControl.page17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/FunctionalTests/features/protected/pages/ActiveControls/ActiveControl.page b/tests/FunctionalTests/features/protected/pages/ActiveControls/ActiveControl.page
new file mode 100644
index 00000000..63bc7f24
--- /dev/null
+++ b/tests/FunctionalTests/features/protected/pages/ActiveControls/ActiveControl.page
@@ -0,0 +1,17 @@
+<com:TContent ID="Content">
+ <com:TClientScript UsingPradoScripts="ajax" />
+ <com:TActiveControl id="control1" />
+ <com:TTextBox />
+ <com:TCheckBoxList>
+ <com:TListItem Text="One" />
+ <com:TListItem Text="Two" />
+ </com:TCheckBoxList>
+ <com:TButton id="button1" Text="Submit" />
+ <script>
+ Event.observe("<%= $this->button1->ClientID %>", "click", function(event)
+ {
+ new Prado.Callback("<%= $this->control1->UniqueID %>", 1);
+ Event.stop(event);
+ });
+ </script>
+</com:TContent> \ No newline at end of file