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

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

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

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

G. andrew Duthie; matthew Macdonald

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

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

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









ValidationSummarydisposable

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

The ValidationSummary control receives the error
text messages from all validation controls on the Web Forms page and
presents them in a single paragraph or list. This occurs
automatically on post back, provided that the
ShowSummary property is set to
True. Alternatively (or in addition), you can set
the ShowMessageBox property to
True to display a message box with the summary
when validation errors occur. This message box uses client-side
JavaScript and will be provided only if the browser supports it and
the EnableClientScript property is set to
True. You can also add a title to the summary by
using the HeaderText property.

public class 

ValidationSummary : WebControl {
// Public Constructors
public

ValidationSummary ( );
// Public Instance Properties
public ValidationSummaryDisplayMode

DisplayMode {set; get; }
public bool

EnableClientScript {set; get; }
public override Color

ForeColor {set; get; } // overrides WebControl
public string

HeaderText {set; get; }
public bool

ShowMessageBox {set; get; }
public bool

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

AddAttributesToRender (System.Web.UI.HtmlTextWriter

writer ); // overrides WebControl
protected override void

OnPreRender (EventArgs

e ); // overrides System.Web.UI.Control
protected override void

Render (System.Web.UI.HtmlTextWriter

writer ); // overrides WebControl
}



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)
ValidationSummary


/ 873