summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/protected/pages/TInPlaceTextBoxTest.page
diff options
context:
space:
mode:
authorwei <>2006-08-29 12:53:23 +0000
committerwei <>2006-08-29 12:53:23 +0000
commit2db708960f4435e2b98518f8fa84cc036ac9f2eb (patch)
tree6dc4ae8a624bf2afeaadfbed5be81cdd8c1b0ffe /tests/FunctionalTests/active-controls/protected/pages/TInPlaceTextBoxTest.page
parentf0a6fad58f8eae14554443081ffb166aaf71762a (diff)
Update active controls.
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected/pages/TInPlaceTextBoxTest.page')
-rw-r--r--tests/FunctionalTests/active-controls/protected/pages/TInPlaceTextBoxTest.page53
1 files changed, 53 insertions, 0 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/TInPlaceTextBoxTest.page b/tests/FunctionalTests/active-controls/protected/pages/TInPlaceTextBoxTest.page
new file mode 100644
index 00000000..54e38c2c
--- /dev/null
+++ b/tests/FunctionalTests/active-controls/protected/pages/TInPlaceTextBoxTest.page
@@ -0,0 +1,53 @@
+<com:TForm ID="form1">
+
+<style>
+ .textbox, .editor
+ {
+ font-family: Arial, Helvetica, sans-serif;
+ font-size: 1.2em;
+ display: block;
+ width: 20em;
+ }
+
+ .textbox
+ {
+ padding: 2px 0px 4px 2px;
+ border:1px solid #eee;
+ }
+
+
+ .editor
+ {
+ background-color: #ffc;
+ }
+ .loader
+ {
+ position:absolute;
+ right:0px;
+ top:0px;
+ color:white;
+ background-color:#900;
+ padding: 0.5em 1em;
+ }
+</style>
+
+ <h1>TInPlaceTextBox Functional Test</h1>
+
+ <com:TInPlaceTextBox id="label1"
+ OnTextChanged="label1_changed"
+ EditTriggerControlID="link1"
+ TextBoxCssClass="editor"
+ ActiveControl.ClientSide.OnLoading="Element.show('loader')"
+ ActiveControl.ClientSide.OnComplete="Element.hide('loader')"
+ CssClass="textbox" Text="Label 1" />
+<span id="loader" style="display:none;" class="loader">Loading...</span>
+ <a href="#" id="link1">Edit</a>
+ <com:TRequiredFieldValidator
+ ControlToValidate="label1"
+ ErrorMessage="*" />
+
+ <com:TActiveLabel ID="status" Text="Status:" />
+
+ <com:TJavascriptLogger />
+
+</com:TForm> \ No newline at end of file