summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/protected/pages/UI/testOnClickAttribute.page
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/protected/pages/UI/testOnClickAttribute.page')
-rw-r--r--tests/FunctionalTests/protected/pages/UI/testOnClickAttribute.page7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/FunctionalTests/protected/pages/UI/testOnClickAttribute.page b/tests/FunctionalTests/protected/pages/UI/testOnClickAttribute.page
new file mode 100644
index 00000000..31381c40
--- /dev/null
+++ b/tests/FunctionalTests/protected/pages/UI/testOnClickAttribute.page
@@ -0,0 +1,7 @@
+<%@ Title="Test Attributes.OnClick" %>
+<com:TContent ID="Content">
+<h1>Test Attributes.OnClick</h1>
+ <com:TLinkButton OnClick="doClick" Text="Click me"
+ Attributes.OnClick="if(!confirm('Are you sure?')) return false;" />
+ <com:TLabel ID="clickState" />
+</com:TContent> \ No newline at end of file