Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What do you mean by serialize and marshalbyref?

1056


Explain the difference between Web Garden and Web Farm?

1054


What is a gridview in asp.net?

1072


Why is global asax is used for?

1132


What do you mean by serialize?

1034


Explain about Multi-Language integration?

1066


What is caching? Explain.

1048


Explain the difference between asp.net mvc and asp.net webforms? : asp.net mvc

1083


Why should i prefer JSP over asp.net or any other web development language..??

2046


Can you set which type of comparison you want to perform by the comparevalidator control?

959


What is parse in asp.net?

1138


What is css in asp.net?

1114


How can we implement a identity (sql server) call in an asp.net page?

1067


Which is faster viewbag or viewdata?

1018


What are the contents of cookie?

1149