Validation in ASP.NET
page 7 of 9
by . .
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 32941/ 98

Validation Summaries


Now, if you want to take all the errors and put them in one place then you can with the ValidationSummary Control. This allows you to have a summary of all the errors. You can still have the in-line errors or you can turn them off by using the Display=none property. The following changes can be made to the script below:

  • DisplayMode can be - BulletList, List or SingleParagraph
  • ShowMessageBox can be - True. This shows a message box with the errors in them.
<asp:ValidationSummary DisplayMode="BulletList" HeaderText="The following errors were found on the page:" runat="server" />

This just brings up a summary of the errors.

View Entire Article

User Comments

Title: Nice   
Name: Nagesh
Date: 2004-07-13 9:49:31 AM
Thanks for such quick review ....
Title: GOOD   
Date: 2004-07-13 8:28:00 AM
But where is the code!!!!!!!!!!!!!!!!!

Product Spotlight
Product Spotlight 

Community Advice: ASP | SQL | XML | Regular Expressions | Windows

©Copyright 1998-2021  |  Page Processed at 2021-03-04 8:26:30 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search