RegexValidationRule
Wisej.Web.RegexValidationRule
Last updated
Wisej.Web.RegexValidationRule
Last updated
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Validates the control using a custom Regex expression.
Initializes a new instance of RegexValidationRule.
String: Returns or sets the filter property (i.e. Filter) property on editable controls that support filtering of the keys as they are typed. (Default: null
)
String: Returns or sets the name of the validation rule. (Default: "Regex"
)
String: Returns or sets the Regex used to validate the control. (Default: null
)
Invoked when the control associated with the validation rule is created and ready to be rendered on the client.
Parameter | Type | Description |
---|---|---|
control | Control being created. |
Validates the control using the validation rule.
Parameter | Type | Description |
---|---|---|
control |
Returns: Boolean. true if the validation is successful; otherwise false.