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

Validation Summaries

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
Comment:
Thanks for such quick review ....
Title: GOOD   
Name: NAGESH
Date: 2004-07-13 8:28:00 AM
Comment:
But where is the code!!!!!!!!!!!!!!!!!

Product Spotlight
Product Spotlight 





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


©Copyright 1998-2019 ASPAlliance.com  |  Page Processed at 2019-04-19 2:57:43 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search