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

When Cookies are expired in ASP.NET?

761


Define resource files.

730


What tags do you need to add within the asp:datagrid tags to bind columns manually? How?

722


Explain About WebService

879


How do cookies work? Give an example of their abuse.

728


What is preprocessor in .net and type, where it use?

865


How does asp.net work?

721


Is asp.net 64-bit enabled? How?

799


What is Web Server Control Templates.?

775


What is the purpose of url encoding?

681


if i want to give an alert message like "try after sometime" to a web page which is being seen by other person.if a web page is not seen by anyone then it should display otherwise it show a display a message stating that other person is viewing so try after some time........how can i implement this.

2013


Explain the use of duration attribute of @outputcache page directive.

857


How would you enable impersonation in the web.config file?

715


What is the life cycle of an asp.net page?

677


What is latest version of asp.net mvc? : Asp.Net MVC

673