C# Класс Engage.Survey.Util.TextBoxLengthValidator

Наследование: System.Web.UI.WebControls.BaseCompareValidator
Показать файл Открыть проект

Private Properties

Свойство Тип Описание

Защищенные методы

Метод Описание
ControlPropertiesValid ( ) : bool

Checks to ensure that the ControlToValidate property is set to a TextBox

EvaluateIsValid ( ) : bool

Performs the server-side validation. If MaxLength is 0, always returns true; otherwise, returns true only if the ControlToValidate's length is less than or equal to the specified MaxLength

Описание методов

ControlPropertiesValid() защищенный Метод

Checks to ensure that the ControlToValidate property is set to a TextBox
/// No value is specified for the property. /// - or - /// The input control specified by the property is not found on the page. /// - or - /// The input control specified by the property does not have a attribute associated with it; therefore, it cannot be validated with a validation control. ///
protected ControlPropertiesValid ( ) : bool
Результат bool

EvaluateIsValid() защищенный Метод

Performs the server-side validation. If MaxLength is 0, always returns true; otherwise, returns true only if the ControlToValidate's length is less than or equal to the specified MaxLength
protected EvaluateIsValid ( ) : bool
Результат bool