summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/Controls/Samples/TCustomValidator/Home.page
diff options
context:
space:
mode:
authorctrlaltca@gmail.com <>2012-01-18 09:35:07 +0000
committerctrlaltca@gmail.com <>2012-01-18 09:35:07 +0000
commita26837b0990f65b7091263026296d2aff68d9838 (patch)
tree3eea57ec60f9c7136a42183e1f6d057a0a1bc997 /demos/quickstart/protected/pages/Controls/Samples/TCustomValidator/Home.page
parente3e61542d5a5292b12c987998326f686a5e11d81 (diff)
fixed #380 (TCustomValidator's ControlToValidate should be optional); added a quickstart example, updated 2 tests that were broken + HISTORY
Diffstat (limited to 'demos/quickstart/protected/pages/Controls/Samples/TCustomValidator/Home.page')
-rw-r--r--demos/quickstart/protected/pages/Controls/Samples/TCustomValidator/Home.page13
1 files changed, 13 insertions, 0 deletions
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TCustomValidator/Home.page b/demos/quickstart/protected/pages/Controls/Samples/TCustomValidator/Home.page
index 7c1bccfe..65195a55 100644
--- a/demos/quickstart/protected/pages/Controls/Samples/TCustomValidator/Home.page
+++ b/demos/quickstart/protected/pages/Controls/Samples/TCustomValidator/Home.page
@@ -64,6 +64,19 @@ Custom validator with focus-on-error enabled and dynamic display:
</td>
</tr>
+<tr>
+<td class="samplenote">
+Custom validator without ControlToValidate:
+</td>
+<td class="sampleaction">
+<com:TTextBox ID="TextBox4" />
+<com:TCustomValidator
+ ValidationGroup="Group4"
+ OnServerValidate="serverValidateNoControl"
+ Text="You must enter 'test'." />
+<com:TButton Text="Submit" ValidationGroup="Group4" />
+</td>
+</tr>
</table>