Skip to content

MaskedEditValidator

MikhailTymchukDX edited this page Aug 24, 2016 · 3 revisions

Demo Page

MaskedEditValidator is a custom validator that attaches to the MaskedEdit extender and associates the TextBox and verifies that the input text matches the pattern specified in the MaskedEdit extender. Once associated with a validation group, server- and client-side validation can be performed and used to display messages.

Properties

Name Description
ClientValidationFunction A client script used for custom validation
ControlExtender ID of the MaskedEditExtender attached to the TextBox
EmptyValueBlurredText A message displayed when text is empty and the TextBox does not have focus
EmptyValueMessage A message displayed when test is empty and the TextBox has focus
InitialValue The initial value of the TextBox
InvalidValueBlurredMessage A message displayed when text is invalid and the TextBox does not have focus
InvalidValueMessage A message displayed when text is invalid and the TextBox has focus
IsValidEmpty Set to True if the TextBox can be empty
MaximumValue A maximum value of the input
MaximumValueBlurredMessage A message displayed when the maximum value is exceeded and the TextBox does not have focus
MaximumValueMessage A message displayed when the maximum value is exceeded and the TextBox has focus
MinimumValue A minimum value of the input
MinimumValueBlurredText A message displayed when the minimum value is exceeded and the TextBox does not have focus
MinimumValueMessage A message displayed when the minimum value is exceeded and the TextBox has focus
TooltipMessage A message displayed when the TextBox has focus with an empty value
ValidationExpression A regular expression used to validate the input
Clone this wiki locally