How do you show the entire validation error message in a message box on the client side?


In order to display all the validation error messages in a message box on the client side one needs to use the ValidationSummary control, this will display the messages that have been set in the ErrorMessage property of the validation control.


If a summary needs to be shown instead of a message box, we just need to set the ShowSummary as true and ShowMessageBox as false.

Comments

Popular posts from this blog

jQuery Basics

What is the difference between a Page Layout and Master Page in SharePoint?

Accessing data from SharePoint 2010 to an ASP.NET application