Main Page
Validation Summaries
There is another validation control that you also should know about—the ValidationSummary control, which summarizes the error messages from all validators on a Web page in one location. The summary can be displayed as a list, as a bulleted list, or as a single paragraph, based on the DisplayMode property. You also can specify if the summary should be displayed in the Web page and in a message box by setting the ShowSummary and ShowMessageBox properties, respectively. There's a validation summary in the ValidationControls example; we'll see how to use it in this chapter.