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
Explain server control extensibility with reference to asp.net 2.0 ?
What are web server controls in asp.net?
How to implement role based security in asp.net mvc? : Asp.Net MVC
What are the advantages of the code-behind feature?
Which is the parent class of the ASP.NET server control?
What is the difference between user control and custom control?
What symbol would you use to denote, the start of a code block in aspx views?
Where you store Connection string in "Web.Config" file in ASP.NET?
Do session use cookies in asp net?
What is custom events? How to create it?
How do active server pages work?
Difference between application events and session events
About CLR, reflection and assemblies?
What is custom attribute? How to create?
How could you modify xaml content from javascript?