[]
        
(Showing Draft Content)

FarPoint.Web.Spread.Extender.MaskedEditValidator

MaskedEditValidator Class

Represents a custom validator which attaches to the MaskedEdit extender and its associated TextBox and verifies that the input text matches the pattern specified in the MaskedEdit extender.

Inheritance
MaskedEditValidator
Implements
Namespace: FarPoint.Web.Spread.Extender
Assembly: FarPoint.Web.Spread.Extender.dll
Syntax
public class MaskedEditValidator : ISerializeSupport
Public Class MaskedEditValidator
    Implements ISerializeSupport

Constructors

Name Description
MaskedEditValidator()

Properties

Name Description
ClientValidationFunction

Gets or sets the client script validation function used for custom validation.

EmptyValueMessage

Gets or sets the empty message that is displayed when empty and TextBox has focus.

ErrorMessage

Gets or sets the error message.

InitialValue

Gets or sets the initial value.

InvalidValueMessage

Gets or sets the message displayed when invalid and TextBox has focus.

IsValidEmpty

Gets or sets a value that indicates whether to validate the empty value.

MaximumValue

Gets or sets the maximum value.

MaximumValueMessage

Gets or sets the message displayed when the maximum value has been exceeded and TextBox has focus.

MinimumValue

Gets or sets the minimum value.

MinimumValueMessage

Gets or sets the message displayed when the minimum value has been exceeded and TextBox has focus.

ValidationExpression

Gets or sets the regular expression used to validate the input.

Methods

Name Description
Deserialize(XmlNodeReader)

Loads the object from XML.

Serialize(XmlTextWriter)

Saves the object to XML.