How can you display all validation messages in one control?



How can you display all validation messages in one control?..

Answer / Navdeep Kumar Singh

In ASP.NET, you can use the ValidationSummary control to display all validation messages for a form. To do this, add the ValidationSummary control to your page and bind it to the controls that will have validation rules applied. You can also customize the appearance of the summary by setting properties such as DisplayMode.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

How to change Master page in ASP.Net using code?

1 Answers   HCL,


What is session id in web application?

1 Answers  


How Session outproc in Sqlserver stored?

1 Answers   CGI,


What is validation in asp.net?

1 Answers  


Will the asp.net validators run in server side or client side?

1 Answers  


What is an application domain?

2 Answers   Microsoft,


How to Insert/Add in ASPXgridview

1 Answers   Infosys,


How would you turn off cookies on a page of a website?

1 Answers  


What is sql data source control in asp.net?

1 Answers  


hi .net gurus here is my question " how does impersonate in asp.net works? explain with good example"

2 Answers   PennyWise, TCS, Wipro,


How do you add a javascript function for a link button in a datagrid ?

4 Answers   Microsoft,


What is page fragment caching?

1 Answers  


Categories