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
Explain program to call the js function when the change is being made in the dropdown list made in asp.net mvc? : asp.net mvc
How do you store a value in viewstate and retrieve them?
Where is asp.net view state stored?
How does output caching work in ASP.NET?
What is GAC in ASP.NET 2.0
Which class is used to send an email message from an ASP.NET Web page?
How to implement Authentication and Authorization?
What is asp net application object?
Define asp.net caching?
Explain difference between friend and protected friend?
Explain the difference between Repeater and Data list control in ASP.NET?
What is route in web api?
What is the difference between a multi-layer and multi-tier applications?
What is parse in asp.net?
What do you mean by caching in asp.net?