The Mad! Widgets ASP.NET Validation Package
“If
you have ever had any doubt about validation packages in the past, you will no longer!”
Anyone who has ever tried to develop web forms using the built-in ASP.NET
validation controls will know that the built-in validation controls can be used
on nothing more than the simplest of forms.
Many attempts have been made by the general public to overcome the weaknesses of
the built-in validation controls, but very few of these solutions can compare with the power
of the Mad! Widgets ASP.NET Validation Package.
Just take a look at the incredible features that are offered by the Mad! Widgets ASP.NET
Validation Package:
| Feature |
Mad! Widgets ASP.NET Validation Package |
Built-in ASP.NET Validation |
| Support for multiple forms |
Yes |
No |
| Support for multiple validation groups |
Yes |
.NET 1.x No, .NET 2.0 Yes |
| Support for WebControls |
Yes |
Yes |
| Support for HtmlControls |
Yes |
Yes |
| Support for non-server controls |
Yes |
No |
| Support for all modern browsers |
Yes |
.NET 1.x No, .NET 2.0 Yes |
| Dynamic runtime message properties |
Yes * |
No |
| User-defined message properties |
Yes * |
No |
| Easily customized Validation Summary |
Yes |
No |
| Validation messages as tool-tips on fields |
Yes |
No |
| Logical control & field grouping validators |
Yes |
No |
| Over 2 dozen validators |
Yes |
No |
| Validation while you type and click |
Yes |
No |
| Default validation properties controllable through web.config |
Yes |
No |
| Auto trim on text fields |
Yes |
No |
| Visual validation within form fields |
Yes |
No |
| Visual style change upon validation failure or success |
Yes |
No |
| Pre and post validation events |
Yes |
No |
| Validation summary error messages with 'show me' hyperlinks |
Yes |
No |
| Underying fast architecture |
Yes |
No |
| Auto browser detection |
Yes |
Yes |
| Manual disabling of client-side validation |
Yes |
Yes |
| Validator classes easily extensible for both client-side and server side validation |
Yes |
No |
| Support for adding arbitrary error messages to the Validation Summary |
Yes |
No |
The Mad! Widgets ASP.NET Validation Package is a complete validation solution for ASP.NET. If you have ever had
any doubt about validation packages in the past, you will no longer.
Every validator in the Mad! Widgets ASP.NET Validation Package supports all form field controls! Just take a look
at the list of controls supported:
| WebControl |
HtmlControl |
Non-server Control |
| CheckBox |
HtmlInputCheckBox |
<input type="checkbox" ... /> |
| CheckBoxList * |
|
|
| DropDownList |
HtmlSelect (single) |
<select ... > ... </select> |
| ListBox |
HtmlSelect (multiple) |
<select multiple="multiple" ... > ... </select> |
| RadioButton |
HtmlInputRadioButton |
<input type="radio" ... /> |
| RadioButtonList |
|
|
| TextBox |
HtmlInputText |
<input type="text" ... /> |
| TextBox (password) |
HtmlInputText (password) |
<input type="password" ... /> |
| TextBox (multiline) |
HtmlTextArea |
<textarea ... > ... </textarea> |
|
HtmlInputFile |
<input type="file" ... /> |
And each of these controls and fields can be validated by any combination of the following validators:
| Validator |
Description |
| ValidatorEntryAnd |
Validates two or more controls or fields each of which must be valid to pass validation |
| ValidatorEntryClientSide |
The base class for all client-side validators |
| ValidatorEntryComparer |
The base class for all comparer validators |
| ValidatorEntryCount * |
Validates against a specific number of items in a list with options on whether the validator
should be considered valid if there are exactly N items, less than N, less than or equal to N, greater than N,
greater than or equal to N or not equal to N items. |
| ValidatorEntryDate |
Validates that a control or field contains a date in an optional culture specific format. |
| ValidatorEntryDateComparer |
Validates the value of two controls or fields or one control or field against a literal date,
that the dates compare using defined comparison method and a difference value. |
| ValidatorEntryDateRange |
Validates that a control or field contains a date that is within a certain date range. |
| ValidatorEntryDomain |
Validates that a control or field contains a domain name or an IP address. |
| ValidatorEntryEmail |
Validates that a control or field contains a valid email address. |
| ValidatorEntryFloat |
Validates that a control or field contains a numerical value. |
| ValidatorEntryFloatRange |
Validates that a control or field contains a floating point number that is within a certain range. |
| ValidatorEntryInt |
Validates that a control or field contains an integral value. |
| ValidatorEntryIntRange |
Validates that a control or field contains an integer number that is within a certain range. |
| ValidatorEntryMultipleEntry |
Base class for all group related validators such as the ValidatorEntryAnd and the ValidatorEntryOr validators. |
| ValidatorEntryNRequired * |
Validates that a list of controls or fields cannot be left blank. This validator uses
a comparison method similar to the ValidatorEntryCount. |
| ValidatorEntryNumericComparer |
Validates the value of two controls or fields or one control or field against a literal number,
that the numbers compare using defined comparison method and a difference value. |
| ValidatorEntryNValid * |
Validates that a list of controls or fields must be valid. This validator uses
a comparison method similar to the ValidatorEntryCount. |
| ValidatorEntryOr |
Similar to the ValidatorEntryAnd validator, this validator validates that at least one control
or field is valid |
| ValidatorEntryPreset |
Used when adding a fixed error message to the Validation Summary. This is primarily used internally. |
| ValidatorEntryRegex |
Validates a control or field against a regular expression. |
| ValidatorEntryRequired |
Validates that a control or field is not blank. |
| ValidatorEntryServerOnly |
Base class for all server-side only validators. |
| ValidatorEntrySingleObject |
Base class for all single field validators. |
| ValidatorEntryTextComparer |
Validates the value of two controls or fields or one control or field against a literal string. |
| ValidatorEntryTextLength |
Validates that a control or field contains text that whose length is within or a certain range
or at least a certain length. |
| ValidatorEntryUrl |
Validates that a control or field is a valid URL. |
| ValidatorEntryWordCount * |
Validates that a control or field contains a specific number of words as defined by the
same comparison rules as ValidatorEntryCount. |
* As of version 1.3 of the package.