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

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

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

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

G. andrew Duthie; matthew Macdonald

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

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

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









CompareValidatordisposable

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

This class represents a validation control that compares the input
control (ControlToValidate) to a specified value
(ValueToCompare) or a value in another control
(ControlToCompare). Both values will be converted
to the data type specified by Type before they are
compared. Note that if you set both ValueToCompare
and ControlToCompare, the latter will take
precedence.

The Operator property specifies the expression
that must be met in order for validation to succeed. In other words,
ControlToValidate <Operator>
ControlToCompare
must be true.

public class 

CompareValidator : BaseCompareValidator {
// Public Constructors
public

CompareValidator ( );
// Public Instance Properties
public string

ControlToCompare {set; get; }
public ValidationCompareOperator

Operator {set; get; }
public string

ValueToCompare {set; get; }
// Protected Instance Methods
protected override void

AddAttributesToRender (System.Web.UI.HtmlTextWriter

writer );
// overrides BaseCompareValidator
protected override bool

ControlPropertiesValid ( ); // overrides BaseValidator
protected override bool

EvaluateIsValid ( ); // 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
CompareValidator


/ 873