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

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

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

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

G. andrew Duthie; matthew Macdonald

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

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

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









RangeValidator.NET 1.1, disposable

System.Web.UI.MobileControls (system.web.mobile.dll)class

This class represents a validation control that tests to make sure
the value of the input control (ControlToValidate)
is equal to or between the MinimumValue and
MaximumValue. All values will be converted to the
data type specified by CompareValidator.Type
before the validation is performed. Valid data types include integer,
double, date, currency, and string (which uses alphabetic
character-code based comparison). In this way, the
RangeValidator control works identically to the
System.Web.UI.WebControls.RangeValidator control
for full-fledged web pages.

Validation automatically succeeds if the input control is empty. To
require a value, use the RequiredFieldValidator
control in addition to the RangeValidator control
(although it won't render client-side validation
code).

public class 

RangeValidator : BaseValidator {
// Public Constructors
public

RangeValidator ( );
// Public Instance Properties
public string

MaximumValue {set; get; }
public string

MinimumValue {set; get; }
public ValidationDataType

Type {set; get; }
// Protected Instance Methods
protected override bool

ControlPropertiesValid ( ); // overrides BaseValidator
protected override BaseValidator

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

MobileControl(System.Web.UI.IAttributeAccessor)
TextControl
BaseValidator(System.Web.UI.IValidator)
RangeValidator


/ 873