diff options
author | ctrlaltca@gmail.com <> | 2011-06-02 19:27:21 +0000 |
---|---|---|
committer | ctrlaltca@gmail.com <> | 2011-06-02 19:27:21 +0000 |
commit | 0daa38a4f5bb43d7332d681a98ccb693bc579230 (patch) | |
tree | 2b6435d1cdd4acddac1281aba120957ecc7cfe1a /demos/quickstart/protected/pages/Controls | |
parent | 3490b6226263b05d980d040a8fbf933c23979ab6 (diff) |
further documentation updates: everything else plus some things that were not even listed. Only T*RatingList has been left out
Diffstat (limited to 'demos/quickstart/protected/pages/Controls')
-rw-r--r-- | demos/quickstart/protected/pages/Controls/List.page | 12 | ||||
-rw-r--r-- | demos/quickstart/protected/pages/Controls/Validation.page | 16 |
2 files changed, 28 insertions, 0 deletions
diff --git a/demos/quickstart/protected/pages/Controls/List.page b/demos/quickstart/protected/pages/Controls/List.page index c7505181..c68a477f 100644 --- a/demos/quickstart/protected/pages/Controls/List.page +++ b/demos/quickstart/protected/pages/Controls/List.page @@ -49,12 +49,14 @@ $listbox->dataBind(); </ul>
<h2 id="4802">TListBox</h2>
+<com:DocLink ClassPath="System.Web.UI.WebControls.TListBox" />
<p id="550331" class="block-content">
<tt>TListBox</tt> displays a list box that allows single or multiple selection. Set the property <tt>SelectionMode</tt> as <tt>Single</tt> to make a single selection list box, and <tt>Multiple</tt> a multiple selection list box. The number of rows displayed in the box is specified via the <tt>Rows</tt> property value.
</p>
<com:RunBar PagePath="Controls.Samples.TListBox.Home" />
<h2 id="4803">TDropDownList</h2>
+<com:DocLink ClassPath="System.Web.UI.WebControls.TDropDownList" />
<p id="550332" class="block-content">
<tt>TDropDownList</tt> displays a dropdown list box that allows users to select a single option from a few prespecified ones.
</p>
@@ -64,6 +66,7 @@ Since v3.1.1, <tt>TDropDownList</tt> starts to support prompt text (something li <com:RunBar PagePath="Controls.Samples.TDropDownList.Home" />
<h2 id="4804">TCheckBoxList</h2>
+<com:DocLink ClassPath="System.Web.UI.WebControls.TCheckBoxList" />
<p id="550333" class="block-content">
<tt>TCheckBoxList</tt> displays a list of checkboxes on a Web page. The alignment of the text besides each checkbox can be specified <tt>TextAlign</tt>. The layout of the checkboxes can be controlled by the following properties:
</p>
@@ -76,12 +79,14 @@ Since v3.1.1, <tt>TDropDownList</tt> starts to support prompt text (something li <com:RunBar PagePath="Controls.Samples.TCheckBoxList.Home" />
<h2 id="4805">TRadioButtonList</h2>
+<com:DocLink ClassPath="System.Web.UI.WebControls.TRadioButtonList" />
<p id="550334" class="block-content">
<tt>TRadioButtonList</tt> is similar to <tt>TCheckBoxList</tt> in every aspect except that each <tt>TRadioButtonList</tt> displays a group of radiobuttons. Only one of the radiobuttions can be selected (<tt>TCheckBoxList</tt> allows multiple selections.)
</p>
<com:RunBar PagePath="Controls.Samples.TRadioButtonList.Home" />
<h2 id="4806">TBulletedList</h2>
+<com:DocLink ClassPath="System.Web.UI.WebControls.TBulletedList" />
<p id="550335" class="block-content">
<tt>TBulletedList</tt> displays items in a bullet format on a Web page. The style of the bullets can be specified by <tt>BulletStyle</tt>. When the style is <tt>CustomImage</tt>, the bullets are displayed as images, which is specified by <tt>BulletImageUrl</tt>.
</p>
@@ -96,4 +101,11 @@ Since v3.1.1, <tt>TDropDownList</tt> starts to support prompt text (something li <com:RunBar PagePath="Controls.Samples.TBulletedList.Home" />
+<h2>TRatingList</h2>
+<com:DocLink ClassPath="System.Web.UI.WebControls.TRatingList" />
+
+<p class="block-content">
+This is an EXPERIMENTAL class that displays clickable images that represent a TRadioButtonList.
+</p>
+
<div class="last-modified">$Id$</div></com:TContent>
\ 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 74db7b07..cabb9371 100644 --- a/demos/quickstart/protected/pages/Controls/Validation.page +++ b/demos/quickstart/protected/pages/Controls/Validation.page @@ -34,6 +34,8 @@ Validators share a common set of properties, which are defined in the base class <h1 id="116008">Prado Validation Controls</h1>
<a name="TRequiredFieldValidator"></a>
<h2 id="4902">TRequiredFieldValidator</h2>
+<com:DocLink ClassPath="System.Web.UI.WebControls.TRequiredFieldValidator" />
+
<p id="560340" class="block-content">
TRequiredFieldValidator ensures that the user enters some data in the specified input field. By default, TRequiredFieldValidator will check if the user input is empty or not. The validation fails if the input is empty. By setting <tt>InitialValue</tt>, the validator can check if the user input is different from <tt>InitialValue</tt>. If not, the validation fails.
</p>
@@ -41,6 +43,8 @@ TRequiredFieldValidator ensures that the user enters some data in the specified <a name="TRegularExpressionValidator"></a>
<h2 id="4903">TRegularExpressionValidator</h2>
+<com:DocLink ClassPath="System.Web.UI.WebControls.TRegularExpressionValidator" />
+
<p id="560341" class="block-content">
TRegularExpressionValidator verifies the user input against a regular pattern. The validation fails if the input does not match the pattern. The regular expression can be specified by the <tt>RegularExpression</tt> property. Some commonly used regular expressions include:
</p>
@@ -65,6 +69,8 @@ Note, TRegularExpressionValidator only checks for nonempty user input. Use a TRe <com:RunBar PagePath="Controls.Samples.TRegularExpressionValidator.Home" />
<h2 id="TEmailAddressValidator">TEmailAddressValidator</h2>
+<com:DocLink ClassPath="System.Web.UI.WebControls.TEmailAddressValidator" />
+
<p id="560344" class="block-content">
TEmailAddressValidator verifies that the user input is a valid email address. The validator uses a regular expression to check if the input is in a valid email address format. If <tt>CheckMXRecord</tt> is true, the validator will also check whether the MX record indicated by the email address is valid, provided <tt>checkdnsrr()</tt> is available in the installed PHP.
</p>
@@ -75,6 +81,8 @@ Note, if the input being validated is empty, TEmailAddressValidator will not do <a name="TCompareValidator"></a>
<h2 id="4904">TCompareValidator</h2>
+<com:DocLink ClassPath="System.Web.UI.WebControls.TCompareValidator" />
+
<p id="560346" class="block-content">
TCompareValidator compares the user input with a constant value specified by <tt>ValueToCompare</tt>, or another user input specified by <tt>ControlToCompare</tt>. The <tt>Operator</tt> property specifies how to compare the values, which includes <tt>Equal</tt>, <tt>NotEqual</tt>, <tt>GreaterThan</tt>, <tt>GreaterThanEqual</tt>, <tt>LessThan</tt> and <tt>LessThanEqual</tt>. Before comparison, the values being compared will be converted to the type specified by <tt>DataType</tt> listed as follows,
</p>
@@ -94,6 +102,8 @@ Note, if the input being validated is empty, TEmailAddressValidator will not do <a name="TDataTypeValidator"></a>
<h2 id="4905">TDataTypeValidator</h2>
+<com:DocLink ClassPath="System.Web.UI.WebControls.TDataTypeValidator" />
+
<p id="560349" class="block-content">
TDataTypeValidator verifies if the input data is of specific type indicated by <tt>DataType</tt>. The data types that can be checked against are the same as those in TCompareValidator.
</p>
@@ -106,6 +116,8 @@ TDataTypeValidator verifies if the input data is of specific type indicated by < <a name="TRangeValidator"></a>
<h2 id="4906">TRangeValidator</h2>
+<com:DocLink ClassPath="System.Web.UI.WebControls.TRangeValidator" />
+
<p id="560351" class="block-content">
TRangeValidator verifies whether an input value is within a specified range. TRangeValidator uses three key properties to perform its validation. The <tt>MinValue</tt> and <tt>MaxValue</tt> properties specify the minimum and maximum values of the valid range. The <tt>DataType</tt> property specifies the data type of the value being validated. The value will be first converted into the specified type and then compare with the valid range. The data types that can be checked against are the same as those in TCompareValidator.
</p>
@@ -124,6 +136,8 @@ are compared as strictly less than the <tt>MaxValue</tt> and/or strictly greater <a name="TCustomValidator"></a>
<h2 id="4907">TCustomValidator</h2>
+<com:DocLink ClassPath="System.Web.UI.WebControls.TCustomValidator" />
+
<p id="560353" class="block-content">
TCustomValidator performs user-defined validation (either server-side or client-side or both) on an input control.
</p>
@@ -148,6 +162,8 @@ function ValidationFunctionName(sender, parameter) <a name="TValidationSummary"></a>
<h2 id="4908">TValidationSummary</h2>
+<com:DocLink ClassPath="System.Web.UI.WebControls.TValidationSummary" />
+
<p id="560356" class="block-content">
TValidationSummary displays a summary of validation errors inline on a Web page, in a message box, or both.
</p>
|