What is validationsummary server control? where it is used ?

Answer Posted / gitam singh

The ValidationSummary control allows you to summarize the error messages from all validation controls on a Web page in a single location. The summary can be displayed as a list, a bulleted list, or a single paragraph, based on the value of the DisplayMode property. The error message displayed in the ValidationSummary control for each validation control on the page is specified by the ErrorMessage property of each validation control. If the ErrorMessage property of the validation control is not set, no error message is displayed in the ValidationSummary control for that validation control. You can also specify a custom title in the heading section of the ValidationSummary control by setting the HeaderText property.
You can control whether the ValidationSummary control is displayed or hidden by setting the ShowSummary property. The summary can also be displayed in a message box by setting the ShowMessageBox property to true.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the asp.net mvc folder conventions? : asp.net mvc

600


How long should a session id be?

636


How you can stop the validation of ASP.NET controls from client side?

617


How many languages are supported by .NET at present time?

393


What is asp net theme?

625






What is the use of data set in asp.net?

570


Are cookies stored on server or client?

619


Explain significance of routing? : asp.net mvc

650


What is caching in asp.net?

643


Where is http session stored?

587


What are the advantages of asp.net mvc framework? : asp.net mvc

630


What is page request in asp.net?

625


What is clickid?

652


Define web.config in .net?

735


How do you remove duplicates without using remove duplicate stage?

699