The ASP.NET Validation Package Reference Manual
Please click on one of the links below to find the reference information that you require.
Note: the full class reference for the 1.3 version of the package is not yet complete. It will be
completed shortly. All existing users will notified by email when this occurs.
The Validator control
- Validator Control - This class is the primary user control for the
ASP.NET Validation Package and controls the server-side validation as well as the delivery of the client-side
validation code to the client.
Abstract validation entry classes
- ValidatorEntry Class - This abstract class is the base class for all validation
entries. A validation entry is a class that determines the rule under which an object will be validated.
- ValidatorEntryClientServer Class - This abstract class is the base class for validation entries
that can validate both on the client and on the server.
- ValidatorEntryComparer Class - This abstract class is the base class for the
validated comparison of two related objects, for example, the beginning and end dates of an event. Subclasses
of this class may to support one or more of the comparison methods: equals, not equals, greater than, greater
than or equal to, less than, less than or equal to.
- ValidatorEntryMultipleEntry Class - This abstract class is the base class for validation
entries that contain one or more child entries. This class makes no determination about how validation should be performed.
- ValidatorEntryServerOnly Class - This abstract class is the base class for validation entries
that can only validate on the server and do no validate on the client.
- ValidatorEntrySingleObject Class - This abstract class is the base class for validation
entries that validate a single object such as a text field, radio list or select list. Most validation entries extend from this
class.
Complex validation classes
- ValidatorEntryAnd Class - This class represents a logical 'and' of the result of
two or more validation entries. For the result of any instance of this class to be valid, all child
entries must be valid.
- ValidatorEntryOr Class - This class represents a logical 'or' of the result of
two or more validation entries. For the result of any instance of this class to be valid, only one of the child
entries must be valid.
Numeric validation classes
- ValidatorEntryFloat Class - This class enforces validation of a text object containing
a number that represents either an integer or a floating point value.
- ValidatorEntryFloatRange Class - This class enforces validation of an integer or a floating
point value within a given range.
- ValidatorEntryInt Class - This class enforces validation of a text object containing a number
that represents an integer.
- ValidatorEntryIntRange Class - This class enforces validation of an integer withing a
given range.
- ValidatorEntryNumericComparer Class - This class validates the comparison of two related
objects containing values that represent numbers (integers or floating point numbers). A difference value may be supplied in
the contructor of the class. The difference value is effectively added to the value of the first object prior to validating.
Date validation classes
- ValidatorEntryDate Class - This class enforces validation of a field containing
text representing a date under the Gregorian Calendar.
- ValidatorEntryDateRange Class - This class enforces validation of a field containing
text representing a date under the Gregorian Calendar as well as validating that the date supplied
is within a certain range, e.g. no earlier than one year ago and no later than the current date.
- ValidatorEntryDateComparer Class - This class validates the comparison of two related
objects containing values that represent dates. A difference value in the form of a positive or negative number of seconds, minutes, hours, days, months and years, may be supplied in
the contructor of the class. The difference value is effectively added to the value of the first object prior to validating.
Text validation classes
Miscellaneous
- ValidatorEntryPreset Class - This class is used internally to store arbitrary error
messages in the Validator Control that are generated on the server.
- ValidatorEventHandler Delegate - This delegate is used to reference a method
used when the Validator control generates an event.
- ValidatorException Class - This class is thrown by the Validator Control or one of its sub classes
when an error occurs with validation that is not picked up and thrown by another class.