Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Build Your Own ASP.NET 2.0 Web Site Using CSharp And VB (2006) [eng]-1.pdf
Скачиваний:
142
Добавлен:
16.08.2013
Размер:
15.69 Mб
Скачать

ValidationSummary

InitialValue

specifies the initial value specified by the

 

ControlToValidate property

IsValid

has the value True when the validation check succeeds,

 

and False otherwise

Text

sets the error message displayed by the control when

 

validation fails

Methods

 

Validate

performs validation and modifies the IsValid property

ValidationSummary

Properties

DisplayMode

sets the formatting for the error messages that are dis-

 

played within the page; possible values are BulletList,

 

List, and SingleParagraph; these messages are the

 

ErrorMessage properties of all validation controls for

 

which validation has failed

EnableClientScript

enables or disables client-side validation; by default, is

 

set as Enabled

Enabled

enables or disables client and server-side validation; by

 

default, is set as Enabled

HeaderText

sets the text that is displayed to the user at the top of

 

the summary

ShowMessageBox

when the value is set to True, an alert box listing form

 

fields that caused errors is presented to the user

ShowSummary

enables or disables the summary of error messages

633