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

Difference between asp and asp.net?

4 Answers   Accenture,


why we should use more than one web.config files in our application? I have two web.config files in my application. One in the root directory and another one inside a sub folder. When the application runs which web.config file will run? why?

1 Answers  


Explain autherization levels in .net ?

2 Answers  


What is the difference between client-side and server-side validations in webpages?

0 Answers  


Which is the namespace used to write error message in event Log File?

1 Answers  






Briefly describe the role of global.asax?

0 Answers  


What is the difference between Trace and Debug?

2 Answers   BirlaSoft,


What is sta?

0 Answers  


What is the difference between Server.Transfer and Response.Redirect?

5 Answers  


If iam developing an application that must accomodate multiple security levels though secure login and my asp.net web appplication is spanned across three web-servers (using round-robbin load balancing) what would be the best approach to maintain login-in state for the users?

0 Answers  


What is difference between response.redirect and server.transfer ?

2 Answers   Kalinga Software, Satyam,


what is uncle aunty file

1 Answers  


Categories