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

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

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

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

G. andrew Duthie; matthew Macdonald

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

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

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









IValidator

System.Web.UI (system.web.dll)interface

This interface defines members used for validation controls. The
Validate( ) method is used to examine supplied
information, compare it with the valid parameters, and update
IsValid property appropriately. The
ErrorMessage contains the message that should be
generated for the user when the supplied information is not valid.

When creating a custom validation control, you do not need to
implement this interface. Instead, you should inherit from one of the
validation classes in the
System.Web.UI.WebControls namespace. The base
class, System.Web.UI.WebControls.BaseValidator,
implements this interface.

public interface 

IValidator {
// Public Instance Properties
public string

ErrorMessage {set; get; }
public bool

IsValid {set; get; }
// Public Instance Methods
public void

Validate ( );
}



Implemented By


System.Web.UI.MobileControls.BaseValidator,
System.Web.UI.WebControls.BaseValidator

Returned By


ValidatorCollection.this

Passed To


ValidatorCollection.{Add( ), Contains(
)
, Remove( )}


/ 873