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

What do you mean by caching in asp.net?

0 Answers  


Whta are the Various steps taken to optimize a web based application (caching, stored procedure etc.) ?

0 Answers  


What is Web Gardening? How would using it affect a design ?

1 Answers   Infogain,


Define machine.config in .net?

0 Answers  


how to do pakaging nd deployment

1 Answers  






Is overloading possible in web services?

2 Answers   Microsoft,


if we establish the cinnection with connection string tag in web.config file,can i go for encrypt and decrypt with that?

1 Answers  


Difference between .NET and previous version?

0 Answers   Microsoft, TIPL,


I have a textbox , assign required field validator and i have two buttons 1) save 2) cancel , i want the validator run only when i click save button, don't validate cancel button , what to do?

7 Answers   eMids, Infotech, Integra, TCS, Wipro,


define silverlight and advantages ?

3 Answers   QA,


Which method has beenintroduced in asp.net 4.0 to redirect a page permanently?

0 Answers  


Where viewstate value is stored in asp.net?

0 Answers  


Categories