TValidationSummary displays a summary of all validation errors inline on a Web page, in a message box, or both. The summary can be displayed as a list, as a bulleted list, or as a single paragraph based on the DisplayMode property. The summary can be displayed on the Web page and in a message box by setting the ShowSummary and ShowMessageBox properties, respectively.
Namespace: System.Web.UI.WebControls
Properties
DisplayMode, string, default=BulletList, kept in viewstate
Gets or sets the display mode (BulletList, List, SingleParagraph) of the validation summary.
HeaderText, string, kept in viewstate
Gets or sets the header text displayed at the top of the summary.
EnableClientScript, boolean, default=true, kept in viewstate
Gets or sets a value indicating whether the TValidationSummary component
updates itself using client-side script.
ShowMessageBox, boolean, default=false, kept in viewstate
Gets or sets a value indicating whether the validation summary is displayed in a message box.
If EnableClientScript is false, this property has no effect.
ShowSummary, boolean, default=true, kept in viewstate
Gets or sets a value indicating whether the validation summary is displayed inline.
Group, string, kept in viewstate
Gets or sets the validation group ID.