Which two properties are there on every validation control?

Answers were Sorted based on User's Feedback



Which two properties are there on every validation control?..

Answer / deva

ControlToValidate and Text or ErrorMessage properties

Is This Answer Correct ?    7 Yes 1 No

Which two properties are there on every validation control?..

Answer / ashish tiwari

Validator Control Basics

All of the validation controls inherit from the base class
BaseValidator so they all have a series of properties and
methods that are common to all validation controls. They
are:
? ControlToValidate - This value is which control the
validator is applied to.

? ErrorMessage - This is the error message that will
be displayed in the validation summary.

? IsValid - Boolean value for whether or not the
control is valid.

? Validate - Method to validate the input control and
update the IsValid property.

? Display - This controls how the error message is
shown.

Comments on tiwariaj@yahoo.co.in ...

Ashish Tiwari
Software Programmer
I Media Corp. Ltd
Mahape,Navi Mumbai.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

Why we go for mvc instead of asp.net? : Asp.Net MVC

0 Answers  


Is session server side or client side?

0 Answers  


What is http pipeline in asp.net?

0 Answers  


We are using Jscriopt validations and at clint site javascript is not running that time validation would work? if yes then how it would behave?

0 Answers  


what are the ihttphandler and ihttphandlerfactory interfaces ?

0 Answers  






What is a server cookie?

0 Answers  


What language does asp.net use?

0 Answers  


what is advantage of developing in asp.net.why the same can't be developed in Java or other web developemnt tool.what are advantages of developers.

4 Answers   IBM,


Is there any limit for query string? Means what is the maximum size?

0 Answers  


What layout mode is the default when a new Web Form is created? a) GridBagLayout b) GridLayout c) FlowLayout d) FormLayout

2 Answers   Syntax Softtech,


What is custom tag in web.config ?

2 Answers   Accenture, BirlaSoft,


What is the mvc model?

0 Answers  


Categories