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


Please Help Members By Posting Answers For Below Questions

Explain the concept of MVC Scaffolding?

763


Explain the various authentication mechanisms in asp.net.

695


What kind of programming language is ASP.NET?

802


Is viewstate enabled by default?

714


How does cookies work in asp net?

731


Why we use content place holder in asp.net?

745


To bind columns manually which tags do you need to add within the asp:datagrid ?

738


How can we prepairing Interview

2078


What is the advantage of mvc over asp.net? : Asp.Net MVC

695


What is session in web technology?

712


What is the difference between sealed vs static class?

773


Define xmlvalidatingreader class.

779


What are the uses of list view control in Asp.net?

787


Explain the steps needed to be performed in order to create an animation in xaml?

765


Any one can tell how we store tiff format images in database and retrive from the database(need for tiff format only)

1802