diff options
Diffstat (limited to 'demos')
5 files changed, 88 insertions, 0 deletions
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TCompareValidator/Home.page b/demos/quickstart/protected/pages/Controls/Samples/TCompareValidator/Home.page new file mode 100644 index 00000000..7abed86a --- /dev/null +++ b/demos/quickstart/protected/pages/Controls/Samples/TCompareValidator/Home.page @@ -0,0 +1,42 @@ +<com:TContent ID="body">
+
+<h1>TCompareValidator Samples</h1>
+
+<table class="sampletable">
+
+<tr>
+<td class="samplenote">
+Compare validator with default settings:
+</td>
+<td class="sampleaction">
+<com:TTextBox ID="TextBox1" />
+<com:TTextBox ID="TextBox11" />
+<com:TCompareValidator
+ ValidationGroup="Group1"
+ ControlToValidate="TextBox1"
+ ControlToCompare="TextBox11"
+ Text="The two textboxes must have the same value." />
+<com:TButton Text="Submit" ValidationGroup="Group1" />
+</td>
+</tr>
+
+<tr>
+<td class="samplenote">
+Compare validator with client-side validation disabled:
+</td>
+<td class="sampleaction">
+<com:TTextBox ID="TextBox2" />
+<com:TTextBox ID="TextBox22" />
+<com:TCompareValidator
+ ValidationGroup="Group2"
+ EnableClientScript="false"
+ ControlToValidate="TextBox2"
+ ControlToCompare="TextBox22"
+ Text="The two textboxes must have the same value." />
+<com:TButton Text="Submit" ValidationGroup="Group2" />
+</td>
+</tr>
+
+</table>
+
+</com:TContent>
\ No newline at end of file diff --git a/demos/quickstart/protected/pages/Controls/Samples/TCompareValidator/Home.php b/demos/quickstart/protected/pages/Controls/Samples/TCompareValidator/Home.php new file mode 100644 index 00000000..88d2dbf2 --- /dev/null +++ b/demos/quickstart/protected/pages/Controls/Samples/TCompareValidator/Home.php @@ -0,0 +1,8 @@ +<?php
+
+class Home extends TPage
+{
+
+}
+
+?>
\ No newline at end of file diff --git a/demos/quickstart/protected/pages/Controls/Samples/TValidationSummary/Home.page b/demos/quickstart/protected/pages/Controls/Samples/TValidationSummary/Home.page new file mode 100644 index 00000000..75ca9c52 --- /dev/null +++ b/demos/quickstart/protected/pages/Controls/Samples/TValidationSummary/Home.page @@ -0,0 +1,25 @@ +<com:TContent ID="body">
+
+<h1>TValidationSummary Samples</h1>
+
+<table class="sampletable">
+
+<tr>
+<td class="samplenote">
+Required field validator with default settings:
+</td>
+<td class="sampleaction">
+<com:TValidationSummary ValidationGroup="Group1" />
+<com:TTextBox ID="TextBox1" />
+<com:TRequiredFieldValidator
+ ValidationGroup="Group1"
+ ControlToValidate="TextBox1"
+ Text="Field required." />
+<com:TButton Text="Submit" ValidationGroup="Group1" />
+</td>
+</tr>
+
+
+</table>
+
+</com:TContent>
\ No newline at end of file diff --git a/demos/quickstart/protected/pages/Controls/Samples/TValidationSummary/Home.php b/demos/quickstart/protected/pages/Controls/Samples/TValidationSummary/Home.php new file mode 100644 index 00000000..88d2dbf2 --- /dev/null +++ b/demos/quickstart/protected/pages/Controls/Samples/TValidationSummary/Home.php @@ -0,0 +1,8 @@ +<?php
+
+class Home extends TPage
+{
+
+}
+
+?>
\ No newline at end of file diff --git a/demos/quickstart/protected/pages/Controls/Validation.page b/demos/quickstart/protected/pages/Controls/Validation.page index b0bf46e1..f37df4d6 100644 --- a/demos/quickstart/protected/pages/Controls/Validation.page +++ b/demos/quickstart/protected/pages/Controls/Validation.page @@ -32,4 +32,9 @@ </p>
<com:RunBar PagePath="Controls.Samples.TCustomValidator.Home" />
+<h2>TValidationSummary</h2>
+<p>
+</p>
+<com:RunBar PagePath="Controls.Samples.TValidationSummary.Home" />
+
</com:TContent>
\ No newline at end of file |