TelephoneValidationRule
Wisej.Web.TelephoneValidationRule
Last updated
Was this helpful?
Wisej.Web.TelephoneValidationRule
Last updated
Was this helpful?
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Validates telephone numbers.
Initializes a new instance of the class.
: Returns or sets whether to format the value of the control after validation. (Default: False
)
Invoked after the control has been successfully validated.
control
Validates the control using the validation rule.
control
: Returns or sets the character mask used to validate the telephone number. It is based on the implementation. (Default: ""
)
: Returns the used to validate the control's text.
: Returns or sets the name of the validation rule. (Default: "Telephone"
)
: Returns or sets whether the control can be empty or its required to have a value. (Default: False
)
Returns: . true if the validation is successful; otherwise false.