
896
|
Chapter 42: The System.Web.UI.WebControls Namespace
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
Returned By
ValidationSummary.DisplayMode
Passed To
ValidationSummary.DisplayMode
ValidatorDisplay
System.Web.UI.WebControls (system.web.dll)
serializable
enum
This enumeration is used to specify how a validation control should display error
messages. Static instructs ASP.NET to reserve space on your Web Forms page for a vali-
dation control so that the page layout won’t change when an error message is
displayed. Dynamic specifies that you want to dynamically add the error message to the
page. It means that several validation controls can share the same place on the page
and that the page layout may change when an error message is displayed (unless you
have enclosed the validator in an HTML element that is large enough to accommo-
date its maximum size).
This enumeration does not affect the display of the error message in a ValidationSummary
control.
Hierarchy
System.Object ➝ System.ValueType ➝ System.Enum(System.IComparable, System.IFor-
mattable, System.IConvertible)
➝ ValidatorDisplay
Returned By
System.Web.UI.MobileControls.BaseValidator.Display, BaseValidator.Display
Passed To
System.Web.UI.MobileControls.BaseValidator.Display, BaseValidator.Display
VerticalAlign
System.Web.UI.WebControls (system.web.dll)
serializable
enum
This enumeration ...