summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/protected/pages/ActiveRadioButtonTest.page
diff options
context:
space:
mode:
authorwei <>2006-08-12 05:34:54 +0000
committerwei <>2006-08-12 05:34:54 +0000
commit54d4919e3f1b00b644fa3c107acdf20159a1b154 (patch)
tree1c3e9cc679d4e08cc4beb06eee6f79838a34cb31 /tests/FunctionalTests/active-controls/protected/pages/ActiveRadioButtonTest.page
parent6dd529fdc25404da07cf9256d92f2a94985c65fc (diff)
Update active controls.
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected/pages/ActiveRadioButtonTest.page')
-rw-r--r--tests/FunctionalTests/active-controls/protected/pages/ActiveRadioButtonTest.page38
1 files changed, 38 insertions, 0 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/ActiveRadioButtonTest.page b/tests/FunctionalTests/active-controls/protected/pages/ActiveRadioButtonTest.page
new file mode 100644
index 00000000..c5c40c44
--- /dev/null
+++ b/tests/FunctionalTests/active-controls/protected/pages/ActiveRadioButtonTest.page
@@ -0,0 +1,38 @@
+<com:TForm ID="form1">
+ <h1>Active Radio Button Test</h1>
+ <com:TActiveRadioButton ID="radio1"
+ GroupName="group1" Text="Radio Button 1"
+ OnCallback="radiobutton_requested"/>
+ <com:TActiveRadioButton ID="radio2"
+ GroupName="group1" Text="Radio Button 2"
+ OnCallback="radiobutton_requested">
+ <prop:ActiveControl.ClientSide OnLoading="$('status').show()" OnComplete="$('status').hide()" />
+ </com:TActiveRadioButton>
+ <com:TActiveRadioButton ID="radio3"
+ Text="Radio Button 3"
+ OnCallback="radiobutton_requested" />
+ <div style="margin:1em; padding:0.5em; text-align:center; border:1px solid #ccc;">
+ <com:TActiveLabel ID="label1" Text="Label 1" />
+ </div>
+ <div style="margin:1em; padding: 1em; text-align: center">
+ <com:TActiveButton id="change_text1"
+ OnClick="change_radio1_text" Text="Change Radio Button 1 Text"/>
+ <com:TActiveButton id="change_radio1"
+ OnClick="change_radio1_checked" Text="Check Radio Button 1"/>
+
+ <com:TActiveButton id="change_text2"
+ OnClick="change_radio2_text" Text="Change Radio Button 2 Text"/>
+ <com:TActiveButton id="change_radio2"
+ OnClick="change_radio2_checked" Text="Check Radio Button 2"/>
+
+ </div>
+
+ <div id="status" style="margin:1em; padding:0.5em;
+ text-align:center;
+ background-color:#900;
+ color:white; display: none;
+ position: absolute; right: 0; top: 0">
+ Loading...
+ </div>
+ <com:TJavascriptLogger />
+</com:TForm> \ No newline at end of file