diff options
author | xue <> | 2006-01-21 03:57:16 +0000 |
---|---|---|
committer | xue <> | 2006-01-21 03:57:16 +0000 |
commit | baf2eb12bc99905ad18fadaa4a542a0d109f9245 (patch) | |
tree | cb02339aabb9e11e487108a85668fbf242c21326 /demos/quickstart/protected/pages/Controls/Samples | |
parent | 039ef5bb2acd9cde5073e4d20459f9d088f0892e (diff) |
TTextBox demo completed. Fixed a few issues related with AutoPostBack=true.
Diffstat (limited to 'demos/quickstart/protected/pages/Controls/Samples')
-rw-r--r-- | demos/quickstart/protected/pages/Controls/Samples/TTextBox/Home.page | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TTextBox/Home.page b/demos/quickstart/protected/pages/Controls/Samples/TTextBox/Home.page index 246ecfec..f771b2ba 100644 --- a/demos/quickstart/protected/pages/Controls/Samples/TTextBox/Home.page +++ b/demos/quickstart/protected/pages/Controls/Samples/TTextBox/Home.page @@ -58,12 +58,13 @@ Auto postback text box not causing validation: Auto postback text box causing validation:
</td><td class="sampleaction">
<com:TTextBox ID="TextBox3"
+ Width="300px"
AutoPostBack="true"
ValidationGroup="Group1"
- Text="change me" />
+ Text="change me to 'test' and see" />
<com:TRequiredFieldValidator
ControlToValidate="TextBox3"
- ErrorMessage="You must enter 'test'."
+ ErrorMessage="You must enter a value not equal to 'test'."
InitialValue="test"
ValidationGroup="Group1" />
</td></tr>
@@ -157,10 +158,10 @@ Auto postback text box causing validation: TextMode="MultiLine"
AutoPostBack="true"
ValidationGroup="Group2"
- Text="change me" />
+ Text="change me to 'test' and see" />
<com:TRequiredFieldValidator
ControlToValidate="MultiTextBox3"
- ErrorMessage="You must enter 'test'."
+ ErrorMessage="You must enter a value not equal to 'test'."
InitialValue="test"
ValidationGroup="Group2" />
</td></tr>
|