Author: ImNewbie | Posted on: 7/20/2010 12:10:10 PM | Views : 393

I have a Gridview control on my webpage which is loaded using a GridViewTemplate dynamically. I have added FormatValidators to emailaddress, date type data fields. I also have a ValidationSummary control to show the error summary at the bottom of the page.

Now, on the webpage, when a user enters incorrect data into two emailaddress fields, the ValidationSummary control summarizes the error messages and shows same error message twice one per row. I think this is a valid behavior of the ValidationSummary control.
Is there anyway to show the error message only once per column i.e. even if two email address fields are incorrect, the error message shown by validationsummary will appear only once instead of twice? I am referring to showing the validationsummary once per column of gridview instead of once per row...
Hope this makes sense. Please help!





...

Go to the complete details ...