What is the purpose of the validation summary control? What
do you need to do to prevent an error message from being
displayed in a validator when a validation summary control
is used? How can you display a message in both the validator
and the validation summary control?
Answer Posted / pallavi
ASP.NET has provided an additional control that complements the validator controls. This is the validation summary control which is used like:
<asp:ValidationSummary id="valSummary" runat="server"
HeaderText="Errors:"
ShowSummary="true" DisplayMode="List" />
>
The validation summary control will collect all the error messages of all the non-valid controls and put them in a tidy list. The list can be either shown on the web page (as shown in the example above) or with a popup box (by specifying ShowMessageBox="True")
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can the unique key be null?
Where can I get information on cookies in asp.net?
What is difference between viewstate and session state in javascript?
What is the difference between session and application?
How is application management and maintenance improved in asp.net 2.0?
What is Dynamic Web and discuss its usage with the help of real life examples?
What are the different ways you would consider sending data across pages in ASP (i.e between asp to asp)?
What is meant by server side scripting?
What is session in web technology?
What is asp net application object?
What is the difference between page.registerclientscriptblock and page.registerstartupscript?
What are the advantages of Web API?
What is state management react?
What is s2s tracking?
What describes a query?