
ValidationSummaryDisplayMode | 895
WebControls
Namespace
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
Returned By
System.Web.UI.MobileControls.CompareValidator.Type, System.Web.UI.MobileControls.
RangeValidator.Type, BaseCompareValidator.Type
Passed To
System.Web.UI.MobileControls.CompareValidator.Type, System.Web.UI.MobileControls.
RangeValidator.Type, BaseCompareValidator.{CanConvert( ), Compare( ), Convert( ), Type}
ValidationSummary
System.Web.UI.WebControls (system.web.dll)
disposable
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. Alter-
natively (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.
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)