Syntax

C#
public interface IBrowserValidationGenerator

The type exposes the following members.

Public Methods

  NameDescription
Public methodSetAsNotSameAs
Set that a field value must _not_ be the same as another field's value.
Public methodSetAsRequired
Sets that a field is required.
Public methodSetAsSameAs
Set that a field value must be the same as another field's value.
Public methodSetDate
Set that a field value must be a valid date.
Public methodSetDigitsOnly
Set that a field should only accept digits.
Public methodSetEmail
Sets that a field value must be a valid email address.
Public methodSetExactLengthOverloaded.
Public methodSetLengthRangeOverloaded.
Public methodSetMaxLengthOverloaded.
Public methodSetMinLengthOverloaded.
Public methodSetNumberOnly
Set that a field should only accept numbers.
Public methodSetRegExp
Sets that a field value must match the specified regular expression.
Public methodSetValueRangeOverloaded.

See Also