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?
Answers were Sorted based on User's Feedback
Answer / shravani
Validation summary control is used to display the summary
of all the error messages in the page either in the format
of bullet list or somethingelse mentioned in the properties
of that control.Whatever errors we get in a page,those are
all listed in that control so that user finds easy to read
and know what is wrong. And i think we can make the
visible property of the validation summary control to be
false so that it is not seen to the users.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / 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 |
Suppose there is one web farm with 3 servers inside with same configuration and the same project is running inside all servers.Which session mode is usde for all these and why?
What is application session?
How to identify host of my system? How to identify servername of my system? How to identify domainname of my system?
What is Fragment Caching in ASP.NET?
2 Answers MCN Solutions, pspl, Wipro,
Tell me Asp.net Method Overriding.
Are cookies stored on server or client?
Explain program to call the js function when the change is being made in the dropdown list made in asp.net mvc? : asp.net mvc
How can we register exception filter globally?
What does occur first in ASP.Net, Authentication or Authorization?
Where do you store the information about the user?s locale?
Which color scheme in a Repeater control can you provide alternatively?
What is ispostback method in asp.net?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)