C# 클래스 Engage.Survey.Util.TextBoxLengthValidator

상속: System.Web.UI.WebControls.BaseCompareValidator
파일 보기 프로젝트 열기: EngageSoftware/Engage-Survey

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