Which two properties are there on every validation control?
Answer Posted / 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 View All Answers
What are early binding and late binding.
What is break mode?
What are resource file and how do we generate resource file?
What is application variable in asp.net?
What is state management in .net?
Whats the difference between abstract factory pattern and factory pattern?
What is the extension of master page in asp.net?
What are the new data controls in asp.net 2.0?
Explain method to handle error using HttpError in Web API?
What is a user session?
About CLR, reflection and assemblies?
What are sessions in asp net?
What is the mvc model?
Why is asp.net so popular?
What is the biggest disadvantage of “Other Return Types” in Web API?