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
Which property is used to identify the Page is Post Back in ASP.NET?
Describe the diffeerence between inline and code behind?
Explain the asp.net page life cycle.
What is the significance of finalize method in .net?
What is a web api? Which protocol is used in a web api?
What are server activated objects?
Web API supports which protocol?
Can you explain one critical mapping? Performance issue which one is better?
Which class is used to send an email message from an ASP.NET Web page?
Explain server-side scripting?
What is xaml? Are xaml file compiled or built on runtime?
Differentiate between namespace and assembly.
What do you mean by View State and what is its role?
When cookie will expire?
What is a runtime version?