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

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

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

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

G. andrew Duthie; matthew Macdonald

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

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

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









RegularExpressionValidatordisposable

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

The RegularExpressionValidator is a type of
validation control that compares an input control against a pattern
specified in the ValidationExpression. Regular
expression validation is ideally suited for verifying predictable
sequences of characters, such as those in social security numbers,
email addresses, telephone numbers, and postal codes. Validation will
succeed if the input control is empty, unless you also use a
RequiredFieldValidator control.

Validation is always performed on the server. If the client browser
supports JavaScript, validation will be performed there as well,
which can save a roundtrip if errors are present. The regular
expression validation performed by the JavaScript code is a subset of
the full System.Text.RegularExpressions.Regex
syntax. Support for it is client-dependent, and the
RegularExpressionValidator will not attempt to
perform client-side regular expression validation on any browser
other than Internet Explorer.

public class 

RegularExpressionValidator : BaseValidator {
// Public Constructors
public

RegularExpressionValidator ( );
// Public Instance Properties
public string

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

AddAttributesToRender (System.Web.UI.HtmlTextWriter

writer );// 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)
RegularExpressionValidator


/ 873