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?

Answers were Sorted based on User's Feedback



What is the purpose of the validation summary control? What do you need to do to prevent an error m..

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

What is the purpose of the validation summary control? What do you need to do to prevent an error m..

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

Post New Answer

More ASP.NET Interview Questions

When we do partial refresh of a page using update panel how server knows it(which event occurs?)

2 Answers  


Explain the concept of View Model in MVC?

0 Answers   B-Ways TecnoSoft,


What is the difference between Webservice and WCF

9 Answers   IBM, ITC Infotech,


What is a Repeater Control and how does it works? and what is the diffrence b/w Gridview,datalist and repeater control?

2 Answers   USi,


What is CTE in sql server 2005?

3 Answers   Minecode,


which one is more flexibility and reliability and durability asp.net (VS)php which one is best and which one we do nice to create dynamic websites

0 Answers   TCS,


Why is an object pool required?

0 Answers  


Explain Factory pattern?

2 Answers   Microsoft,


About Usage of server variables ?

2 Answers   Cognizant, CTS,


How to implement caching?

2 Answers   Infosys, Microsoft,


Hi, I Dont know about Application and Session State management. Can anyone explain me with simple example?

1 Answers  


How to convert a string into an Integer in ASP.net?

12 Answers  


Categories