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

What is the difference between asp.net and mvc?

0 Answers  


Explain the advantages of passport authentication.

0 Answers  


What are the new login controls in asp.net 2.0?

0 Answers  


What is Pre-Render event in ASP.NET?

0 Answers   MindCracker,


Explain the differences between managed and unmanaged code?

0 Answers  






What is validation in asp.net?

0 Answers  


Is it necessary to lock application state before accessing it ?

1 Answers  


can i use store procedure in disconnected mode? give me answer

2 Answers  


What is the use of view state?

0 Answers  


WSDL means?

0 Answers   Siebel,


Does google crawl redirects?

0 Answers  


What are tuples?

0 Answers  


Categories