ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources] - نسخه متنی

G. andrew Duthie; matthew Macdonald

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید









BaseCompareValidatordisposable

System.Web.UI.WebControls (system.web.dll)abstract class

This abstract class provides basic functionality for the
CompareValidator and
RangeValidator classes, which perform validation
through comparisons. The shared (static) GetFullYear(
)
method converts a two-digit year (like
"98") to a four-digit
representation ("1998"), while
CutoffYear sets the maximum four-digit year value
that it will allow to be represented in two digits. The shared
CanConvert( ) method determines whether a string
can be converted to a given ValidationDataType,
while the Type property sets the
ValidationDataType that the current instance of
the control is validating text against.

public abstract class 

BaseCompareValidator : BaseValidator {
// Protected Constructors
protected

BaseCompareValidator ( );
// Protected Static Properties
protected static int

CutoffYear {get; }
// Public Instance Properties
public ValidationDataType

Type {set; get; }
// Public Static Methods
public static bool

CanConvert (string

text , ValidationDataType

type );
// Protected Static Methods
protected static bool

Compare (string

leftText , string

rightText ,
ValidationCompareOperator

op , ValidationDataType

type );
protected static bool

Convert (string

text , ValidationDataType

type , out object

value );
protected static string

GetDateElementOrder ( );
protected static int

GetFullYear (int

shortYear );
// Protected Instance Methods
protected override void

AddAttributesToRender (System.Web.UI.HtmlTextWriter

writer ); // overrides BaseValidator
protected override bool

DetermineRenderUplevel ( ); // overrides BaseValidator
}



Hierarchy


System.Object
System.Web.UI.Control(System.ComponentModel.IComponent,
System.IDisposable
,
System.Web.UI.IParserAccessor,
System.Web.UI.IDataBindingsAccessor)

WebControl(System.Web.UI.IAttributeAccessor)
Label
BaseValidator(System.Web.UI.IValidator)
BaseCompareValidator

Subclasses


CompareValidator, RangeValidator


/ 873