summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/Controls/Samples/TCompareValidator
diff options
context:
space:
mode:
authorwei <>2006-02-18 23:41:16 +0000
committerwei <>2006-02-18 23:41:16 +0000
commit270282e3a26b21184a2051995cb5b9a2755b823d (patch)
tree761d82ad761996f329d63acc770fc5a0bce9d5a2 /demos/quickstart/protected/pages/Controls/Samples/TCompareValidator
parentf1cc3c880b564362e7f00b18326e116884879231 (diff)
Update some javascript code.
Diffstat (limited to 'demos/quickstart/protected/pages/Controls/Samples/TCompareValidator')
-rw-r--r--demos/quickstart/protected/pages/Controls/Samples/TCompareValidator/Home.page10
1 files changed, 6 insertions, 4 deletions
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TCompareValidator/Home.page b/demos/quickstart/protected/pages/Controls/Samples/TCompareValidator/Home.page
index 7abed86a..ab99436a 100644
--- a/demos/quickstart/protected/pages/Controls/Samples/TCompareValidator/Home.page
+++ b/demos/quickstart/protected/pages/Controls/Samples/TCompareValidator/Home.page
@@ -1,6 +1,8 @@
<com:TContent ID="body">
<h1>TCompareValidator Samples</h1>
+<p><strong>Note:</strong>TCompareValidator will start
+to validate only if both inputs are not empty.</p>
<table class="sampletable">
@@ -9,8 +11,8 @@
Compare validator with default settings:
</td>
<td class="sampleaction">
-<com:TTextBox ID="TextBox1" />
-<com:TTextBox ID="TextBox11" />
+<com:TTextBox ID="TextBox1" Text="a1" />
+<com:TTextBox ID="TextBox11" Text="a2"/>
<com:TCompareValidator
ValidationGroup="Group1"
ControlToValidate="TextBox1"
@@ -25,8 +27,8 @@ Compare validator with default settings:
Compare validator with client-side validation disabled:
</td>
<td class="sampleaction">
-<com:TTextBox ID="TextBox2" />
-<com:TTextBox ID="TextBox22" />
+<com:TTextBox ID="TextBox2" Text="b1"/>
+<com:TTextBox ID="TextBox22" Text="b2" />
<com:TCompareValidator
ValidationGroup="Group2"
EnableClientScript="false"