What is validationsummary server control? where it is used ?



What is validationsummary server control? where it is used ?..

Answer / 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

More ASP.NET Interview Questions

To call a Web service SOAP which transport protocol you use?

3 Answers   Siebel,


Describe the two main components of the .NET framework ?

2 Answers  


What are the disadvantages of using session?

0 Answers  


Explain the difference between or and orelse?

0 Answers  


Is asp.net outdated?

0 Answers  






How you can access the values from the Repeater control in ASP.NET?

0 Answers  


Write a code snippet to implement the indentation in json in web api.

0 Answers  


What is the difference between User Controls and Master Pages

22 Answers   Deloitte, IBM, IntraLogic, Markit, TCS,


Differentiate between file-based dependency and key-based dependency.

0 Answers  


What methods are fired during the page load?

2 Answers  


What?s the difference between Response.Write() and Response.Output.Write()?

2 Answers   Siebel, Visual Soft,


Why is this service branded with windows livetm?

0 Answers  


Categories