System.Web.UI.WebControls Namespace
Specifies the validation summary display mode to be used by the ValidationSummary control.
The ValidationSummaryDisplayMode enumeration represents the different display formats of a ValidationSummary control.
Member Name |
Description |
BulletList |
Displays the error messages of the validation summary on separate lines, as a bulleted list. |
List |
Displays the error messages of the validation summary on separate lines, as a simple list. |
SingleParagraph |
Displays the error messages of the validation summary as a single paragraph, separated from each other by two spaces. |
The sample below shows how to programmatically set the DisplayMode property of a ValidationSummary control at run time, depending on user input.
Show me
ValidationSummary Class